awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
joyent avatar

joyent/http-parserArchived

0
View on GitHub↗
6,445 stele·1,522 fork-uri·C·MIT·1 vizualizare

Http Parser

http-parser este o bibliotecă C concepută pentru parsarea mesajelor HTTP de tip zero-copy, deconstrucția URL-urilor și gestionarea actualizărilor de protocol și a codificării chunked. Oferă utilitare pentru extragerea header-elor, metodelor și codurilor de stare din cererile și răspunsurile HTTP.

Proiectul include un parser de URL-uri zero-copy pentru descompunerea șirurilor în componente individuale și un mecanism pentru detectarea cererilor de comutare a protocolului, pentru a identifica offset-ul exact de octeți unde încep datele non-HTTP. De asemenea, dispune de un decodor pentru gestionarea fluxurilor de date cu transfer codificat chunked.

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.

Istoric stele

Graficul istoricului de stele pentru joyent/http-parserGraficul istoricului de stele pentru joyent/http-parser

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face joyent/http-parser?

http-parser este o bibliotecă C concepută pentru parsarea mesajelor HTTP de tip zero-copy, deconstrucția URL-urilor și gestionarea actualizărilor de protocol și a codificării chunked. Oferă utilitare pentru extragerea header-elor, metodelor și codurilor de stare din cererile și răspunsurile HTTP.

Care sunt principalele funcționalități ale joyent/http-parser?

Principalele funcționalități ale joyent/http-parser sunt: Message Parsing, Zero-Copy Parsing, Chunked Transfer Encoding, HTTP Message Parsers, URL Parsers, Incremental Stream Processing, State-Based Parsing, URL Component Deconstructors.

Care sunt câteva alternative open-source pentru joyent/http-parser?

Alternativele open-source pentru joyent/http-parser includ: 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…

Alternative open-source pentru Http Parser

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Http Parser.
  • nodejs/http-parserAvatar nodejs

    nodejs/http-parser

    6,445Vezi pe 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
    Vezi pe GitHub↗6,445
  • boostorg/beastAvatar boostorg

    boostorg/beast

    4,801Vezi pe 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
    Vezi pe GitHub↗4,801
  • vibora-io/viboraAvatar vibora-io

    vibora-io/vibora

    5,592Vezi pe 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
    Vezi pe GitHub↗5,592
  • olahol/melodyAvatar olahol

    olahol/melody

    4,066Vezi pe 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
    Vezi pe GitHub↗4,066
Vezi toate cele 30 alternative pentru Http Parser→