awesome-repositories.com
Blog
MCP
awesome-repositories.com

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

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
nodejs avatar

nodejs/http-parserArchived

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

Http Parser

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.

Features

  • State-Machine Parsers - Utilizes a state-machine parser to sequentially process byte streams and identify HTTP boundaries.
  • Zero-Copy Parsing - Extracts metadata by returning pointers to the original input buffer, avoiding new memory allocations.
  • Incremental Stream Processing - Processes fragmented data chunks sequentially to assemble payloads without loading everything into memory.
  • Request Parsing - Converts raw socket byte streams into structured HTTP request and response metadata.
  • Incremental Body Processing - Processes fragmented HTTP response bodies in chunks to minimize memory overhead.
  • URL Component Deconstructors - Splits URLs into constituent parts using pointer offsets to avoid memory duplication.
  • URL Data Parsing - Provides high-performance URL parsing that avoids memory copies to maintain low overhead.
  • Chunked Transfer Encoding - Decodes HTTP transfer-encoded data streams to deliver a fully assembled response body.
  • Event-Driven Callbacks - Implements an event-driven callback system to notify consumers as HTTP message segments are identified.
  • Response Body Decoders - Decodes chunked HTTP response payloads into a continuous data stream.
  • Protocol Upgrades - Provides mechanisms to track the exact byte offset for transitioning HTTP connections to new protocols.
  • Networking - HTTP request/response parser.
  • Build Systems - A lightweight parser for HTTP request and response messages.
  • Networking Libraries - HTTP request and response parsing.

Star history

Star history chart for nodejs/http-parserStar history chart for nodejs/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.
  • joyent/http-parserjoyent avatar

    joyent/http-parser

    6,445View on GitHub↗

    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.

    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
  • h2o/h2oh2o avatar

    h2o/h2o

    11,493View on GitHub↗

    h2o is a high-performance content delivery server and HTTP/3 web server. It functions as a network gateway and reverse proxy that forwards client requests to upstream servers to manage traffic flow and load. The project distinguishes itself as a protocol fuzzing tool, utilizing a testing framework to execute automated stress tests against network protocols to identify memory leaks and crashes. The server provides capabilities for secure web traffic management through encrypted data transmission and high-performance web serving across HTTP/1, HTTP/2, and HTTP/3. It includes tools for server r

    C
    View on GitHub↗11,493
  • qinguoyi/tinywebserverqinguoyi avatar

    qinguoyi/TinyWebServer

    19,582View on GitHub↗

    TinyWebServer is a lightweight HTTP web server written in C++ for Linux. It is designed to handle HTTP requests and serve static content using low-level Linux system calls for network connection management. The server utilizes a state machine to parse GET and POST data from network sockets. It incorporates a MySQL database connection pool to manage reusable links and reduce the overhead of opening and closing sessions. The project covers static media streaming for images and video files, user authentication workflows for registration and login, and system activity logging via both synchronou

    C++
    View on GitHub↗19,582
See all 30 alternatives to Http Parser→

Frequently asked questions

What does nodejs/http-parser do?

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.

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

The main features of nodejs/http-parser are: State-Machine Parsers, Zero-Copy Parsing, Incremental Stream Processing, Request Parsing, Incremental Body Processing, URL Component Deconstructors, URL Data Parsing, Chunked Transfer Encoding.

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

Open-source alternatives to nodejs/http-parser include: joyent/http-parser — http-parser is a C library designed for zero-copy HTTP message parsing, URL deconstruction, and the management of… boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… h2o/h2o — h2o is a high-performance content delivery server and HTTP/3 web server. It functions as a network gateway and reverse… qinguoyi/tinywebserver — TinyWebServer is a lightweight HTTP web server written in C++ for Linux. It is designed to handle HTTP requests and… fb55/htmlparser2 — htmlparser2 is a collection of tools for high-performance markup parsing, DOM manipulation, and incremental stream… node-fetch/node-fetch — node-fetch is a promise-based HTTP client library that provides a lightweight implementation of the Fetch API for the…