awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjektÜber unsHow we rankPresseMCP-Server
RechtlichesDatenschutzAGB
© 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·2 Aufrufe

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-Systeme - A lightweight parser for HTTP request and response messages.
  • Netzwerk-Bibliotheken - HTTP request and response parsing.

Star-Verlauf

Star-Verlauf für nodejs/http-parserStar-Verlauf für nodejs/http-parser

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Http Parser

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Http Parser.
  • joyent/http-parserAvatar von joyent

    joyent/http-parser

    6,445Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗6,445
  • boostorg/beastAvatar von boostorg

    boostorg/beast

    4,801Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗4,801
  • h2o/h2oAvatar von h2o

    h2o/h2o

    11,493Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗11,493
  • qinguoyi/tinywebserverAvatar von qinguoyi

    qinguoyi/TinyWebServer

    19,582Auf GitHub ansehen↗

    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++
    Auf GitHub ansehen↗19,582
Alle 30 Alternativen zu Http Parser anzeigen→

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…