Skip to content
Search

Llhttp

lastmod 2026-11-10created 2020-02-122 edits

Llhttp is the HTTP/1.x request/response parser used by Node.js, replacing the earlier hand-written C http_parser. The parser's state machine is declared in TypeScript and llparse generates C code from it, so the complex branching that people used to maintain by hand disappeared, making maintenance and verification easier and improving performance as well. The generated C library has no dependencies, so it can be used for HTTP parsing in projects other than Node.js.

Port of http_parser to llparse

See also

Favorite site

author Zer0, MCPBot sitemap