awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
joyent avatar

joyent/http-parserArchived

0
View on GitHub↗
6,445 stars·1,522 forks·C·MIT·1 vue

Http Parser

http-parser est une bibliothèque C conçue pour l'analyse de messages HTTP en mode zero-copy, la déconstruction d'URL et la gestion des mises à niveau de protocole et de l'encodage par blocs (chunked encoding). Elle fournit des utilitaires pour extraire les en-têtes, les méthodes et les codes de statut des requêtes et réponses HTTP.

Le projet inclut un analyseur d'URL zero-copy pour décomposer les chaînes en composants individuels et un mécanisme de détection des requêtes de changement de protocole pour identifier l'offset exact où commencent les données non-HTTP. Il dispose également d'un décodeur pour gérer les flux de données encodés en transfert par blocs.

Features

  • Message Parsing - Implements a zero-copy approach to extract header fields, status codes, and methods from HTTP requests and responses.
  • Zero-Copy Parsing - Extracts data from input buffers by referencing pointers to the original memory instead of allocating new tokens.
  • Chunked Transfer Encoding - Decodes data streams using chunked transfer encoding to retrieve the final response body.
  • HTTP Message Parsers - Provides a C library for extracting headers, methods, and status codes using a high-performance zero-copy approach.
  • URL Parsers - Offers a high-performance utility for deconstructing URL strings into individual components without memory allocation.
  • Incremental Stream Processing - Processes incoming HTTP data incrementally in small chunks to avoid loading entire requests into memory.
  • State-Based Parsing - Uses a state-machine based parsing technique to track context and handle byte streams incrementally.
  • URL Component Deconstructors - Splits complex URL strings into constituent parts such as host, path, and query parameters.
  • URL Data Parsing - Converts raw URL strings into structured components using a zero-copy utility.
  • HTTP Upgrade Handlers - Handles the conversion of inbound HTTP requests into persistent connections by detecting protocol upgrade requests.
  • Stream Offset Tracking - Tracks the exact byte position within the message stream to identify where protocol transitions occur.
  • C Memory Management - Implements low-level memory allocation and cleanup for buffers within a C-based library to minimize overhead.
  • Protocol Upgrades - Detects requests to switch protocols and identifies the byte offset where the new protocol stream begins.
  • Development Utilities - C-based HTTP request/response parser.

Historique des stars

Graphique de l'historique des stars pour joyent/http-parserGraphique de l'historique des stars pour joyent/http-parser

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Http Parser

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Http Parser.
  • nodejs/http-parserAvatar de nodejs

    nodejs/http-parser

    6,445Voir sur GitHub↗

    http-parser is a C-based library for extracting request and response metadata from raw HTTP data streams. It utilizes a state-machine approach to identify message segments and boundaries. The project implements zero-copy string parsing and pointer-based URL deconstruction to avoid memory allocations and data duplication. It supports incremental stream processing to handle fragmented data chunks and includes mechanisms for decoding chunked encoding and managing network protocol upgrades.

    C
    Voir sur GitHub↗6,445
  • boostorg/beastAvatar de boostorg

    boostorg/beast

    4,801Voir sur GitHub↗

    Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an asynchronous networking framework designed to compose non-blocking I/O operations and layered stream stacks for managing concurrent network traffic, specifically utilizing the Boost.Asio asynchronous model. The library provides a comprehensive implementation of the HTTP/1.1 and WebSocket protocols. For HTTP, it includes primitives for parsing and serializing messages with support for chunked transfer encoding, incremental body reading, and request pipelining. Its WebSocket implementati

    C++asioasync-programmingboost
    Voir sur GitHub↗4,801
  • vibora-io/viboraAvatar de vibora-io

    vibora-io/vibora

    5,592Voir sur GitHub↗

    Vibora is an asynchronous Python web framework and built-in HTTP server designed for building high-performance web applications. It utilizes an asynchronous event loop and coroutines to process network requests and serve responses without requiring external server wrappers. The project features a high-performance asynchronous schema validator for request integrity, a non-blocking template engine with support for hot-reloading, and a WebSocket communication server for bidirectional real-time data exchange. The framework covers a broad range of capabilities, including modular route management

    Pythonasyncclientframework
    Voir sur GitHub↗5,592
  • olahol/melodyAvatar de olahol

    olahol/melody

    4,066Voir sur GitHub↗

    Melody is a WebSocket server framework designed to upgrade HTTP connections into bidirectional streams. It functions as a session manager and binary streaming library that facilitates real-time data exchange between a server and multiple remote clients. The project features a broadcast engine that optimizes multi-client transmissions through wire-representation caching. It includes a dedicated session management system for attaching custom state to persistent network connections and an upgrade handler that validates handshake headers. The framework covers broad capability areas including eve

    Goexampleframeworkgo
    Voir sur GitHub↗4,066
Voir les 30 alternatives à Http Parser→

Questions fréquentes

Que fait joyent/http-parser ?

http-parser est une bibliothèque C conçue pour l'analyse de messages HTTP en mode zero-copy, la déconstruction d'URL et la gestion des mises à niveau de protocole et de l'encodage par blocs (chunked encoding). Elle fournit des utilitaires pour extraire les en-têtes, les méthodes et les codes de statut des requêtes et réponses HTTP.

Quelles sont les fonctionnalités principales de joyent/http-parser ?

Les fonctionnalités principales de joyent/http-parser sont : Message Parsing, Zero-Copy Parsing, Chunked Transfer Encoding, HTTP Message Parsers, URL Parsers, Incremental Stream Processing, State-Based Parsing, URL Component Deconstructors.

Quelles sont les alternatives open-source à joyent/http-parser ?

Les alternatives open-source à joyent/http-parser incluent : nodejs/http-parser — http-parser is a C-based library for extracting request and response metadata from raw HTTP data streams. It utilizes… boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… vibora-io/vibora — Vibora is an asynchronous Python web framework and built-in HTTP server designed for building high-performance web… olahol/melody — Melody is a WebSocket server framework designed to upgrade HTTP connections into bidirectional streams. It functions… icsharpcode/sharpziplib — SharpZipLib is a .NET compression library and file archiver used to create, extract, and manage Zip, GZip, Tar, and… antirez/sds — sds is a C dynamic string library that provides a memory management wrapper for heap-allocated strings. It implements…