awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
joyent avatar

joyent/http-parserArchived

0
View on GitHub↗
6,445 estrellas·1,522 forks·C·MIT·1 vista

Http Parser

http-parser es una librería en C diseñada para el análisis (parsing) de mensajes HTTP sin copia (zero-copy), deconstrucción de URLs y gestión de actualizaciones de protocolo y codificación fragmentada (chunked encoding). Proporciona utilidades para extraer cabeceras, métodos y códigos de estado de las peticiones y respuestas HTTP.

El proyecto incluye un parser de URLs zero-copy para descomponer cadenas en componentes individuales y un mecanismo para detectar peticiones de cambio de protocolo, identificando el desplazamiento exacto en bytes donde comienzan los datos no HTTP. También cuenta con un decodificador para manejar flujos de datos con transferencia codificada por fragmentos.

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.

Historial de estrellas

Gráfico del historial de estrellas de joyent/http-parserGráfico del historial de estrellas de joyent/http-parser

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Http Parser

Proyectos open-source similares, clasificados según cuántas características comparten con Http Parser.
  • nodejs/http-parserAvatar de nodejs

    nodejs/http-parser

    6,445Ver en 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
    Ver en GitHub↗6,445
  • boostorg/beastAvatar de boostorg

    boostorg/beast

    4,801Ver en 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
    Ver en GitHub↗4,801
  • vibora-io/viboraAvatar de vibora-io

    vibora-io/vibora

    5,592Ver en 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
    Ver en GitHub↗5,592
  • olahol/melodyAvatar de olahol

    olahol/melody

    4,066Ver en 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
    Ver en GitHub↗4,066
Ver las 30 alternativas a Http Parser→

Preguntas frecuentes

¿Qué hace joyent/http-parser?

http-parser es una librería en C diseñada para el análisis (parsing) de mensajes HTTP sin copia (zero-copy), deconstrucción de URLs y gestión de actualizaciones de protocolo y codificación fragmentada (chunked encoding). Proporciona utilidades para extraer cabeceras, métodos y códigos de estado de las peticiones y respuestas HTTP.

¿Cuáles son las características principales de joyent/http-parser?

Las características principales de joyent/http-parser son: Message Parsing, Zero-Copy Parsing, Chunked Transfer Encoding, HTTP Message Parsers, URL Parsers, Incremental Stream Processing, State-Based Parsing, URL Component Deconstructors.

¿Qué alternativas de código abierto existen para joyent/http-parser?

Las alternativas de código abierto para joyent/http-parser incluyen: 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…