Re:A Universal I/O Abstraction for C++ (2020)
by secondcoming on Monday April 19, 2021 @07:10AM
(#26861350)
We actually use the original node.js parser code (http_parser), which was originally based _I believe_ on the nginx parser. The Node people have since moved on to generating the C parser code with Typescript because the original code was too difficult to maintain (llparse).
Like I said, human-readable HTTP needs to die, but it's far too late.
Personally I'd rather use this than something based on Node.js http-parser.
[0] https://www.boost.org/doc/libs/develop/libs/beast/doc/html/b...
[1] https://github.com/nodejs/http-parser/issues?q=is%3Aissue+au...