awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 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 view

Http Parser

http-parser is a C library designed for zero-copy HTTP message parsing, URL deconstruction, and the management of protocol upgrades and chunked encoding. It provides utilities to extract headers, methods, and status codes from HTTP requests and responses.

The project includes a zero-copy URL parser for deconstructing strings into individual components and a mechanism for detecting protocol switch requests to identify the exact byte offset where non-HTTP data begins. It also features a decoder for handling chunked transfer-encoded data streams.

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.

Star history

Star history chart for joyent/http-parserStar history chart for joyent/http-parser

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Http Parser

Similar open-source projects, ranked by how many features they share with Http Parser.
  • nodejs/http-parsernodejs avatar

    nodejs/http-parser

    6,445View on 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
    View on GitHub↗6,445
  • boostorg/beastboostorg avatar

    boostorg/beast

    4,801View on 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
    View on GitHub↗4,801
  • vibora-io/viboravibora-io avatar

    vibora-io/vibora

    5,592View on 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
    View on GitHub↗5,592
  • olahol/melodyolahol avatar

    olahol/melody

    4,066View on 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
    View on GitHub↗4,066
See all 30 alternatives to Http Parser→

Frequently asked questions

What does joyent/http-parser do?

http-parser is a C library designed for zero-copy HTTP message parsing, URL deconstruction, and the management of protocol upgrades and chunked encoding. It provides utilities to extract headers, methods, and status codes from HTTP requests and responses.

What are the main features of joyent/http-parser?

The main features of joyent/http-parser are: Message Parsing, Zero-Copy Parsing, Chunked Transfer Encoding, HTTP Message Parsers, URL Parsers, Incremental Stream Processing, State-Based Parsing, URL Component Deconstructors.

What are some open-source alternatives to joyent/http-parser?

Open-source alternatives to joyent/http-parser include: 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…