nodejs/http-parser
View on GitHub ↗ ★ 6,437 C archived
http request/response parser for c
15 mentions on Hacker News by 10 people: 0 stories, 15 comments · first 2012-01-03 · latest 2021-12-09
20082026
-
…from the majority of HTTP parsers out there written in C. Here is an example of NodeJS [0]. [0] https://github.com/nodejs/http-parser/blob/main/http_parser....
comment by tgraf · 2021-12-09 · in eBPF will help solve service mesh by getting rid of sidecars -
Whoa, I didn't know that! But yeah, it seems like https://github.com/nodejs/http-parser is based on nginx. It now uses https://github.com/nodejs/llhttp but has some of the same legacy. On the other hand, deno's HTTP stuff is built on top…
comment by jaffathecake · 2021-10-15 · in How to win at CORS -
…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...
comment by nly · 2021-04-19 · in A Universal I/O Abstraction for C++ (2020) -
…how whitespace and obsolete line folding should be handled Various whitespace issues in node.js: https://github.com/nodejs/http-parser/issues?q=is%3Aissue+wh... Spec clarification: https://github.com/httpwg/http-core/issues/53 Node.js's…
comment by nly · 2021-02-25 · in Plain Text Protocols -
…that was extracted to a self-contained C file with associated headers and is a pleasure to use. [1] https://github.com/nodejs/http-parser
comment by thamer · 2020-10-25 · in A small but complete JavaScript engine -
…for parsing and encoding of HTTP requests and responses (I don't know what there is for C/C++) https://github.com/nodejs/http-parser On the parser side, that's about as widely used/polished as you could hope to see.
comment by erichocean · 2016-03-25 · in Silicon: C++14 web framework -
…actions being munged... which leaves you to design the top level state machine yourself. [0] https://github.com/joyent/http-parser/commit/5d9c3821729b194...
comment by nly · 2014-10-12 · in Lwan: Experimental, scalable, high performance HTTP server -
maybe not entirely hand written? source[1] [1]: https://github.com/joyent/http-parser/blob/master/LICENSE-MI...
comment by stock_toaster · 2014-04-22 · in Space Monkey dumps Python for Go -
…is written in C (originally pulled from nginx as I recall). Go's http parser is written in Go. [1]: https://github.com/joyent/http-parser
comment by stock_toaster · 2014-04-22 · in Space Monkey dumps Python for Go -
…has worked for me, but its GPL and tends to break ABI quite a bit [3] [0] http://curl.haxx.se/ [1] https://github.com/joyent/http-parser [2] http://tatsuhiro-t.github.io/spdylay/ [3] https://polarssl.org/
comment by nly · 2014-01-18 · in Chrome Is The New C Runtime -
…you start jumping around in your grammar, things become complicated fast (and impossible to debug.) https://github.com/joyent/http-parser/pull/156#issuecomment-...
comment by jacobr · 2013-08-20 · in Node.js incorrectly parses HTTP methods -
Or at least they were looking at fixing it 8 months ago. https://github.com/joyent/http-parser/pull/145
comment by myhf · 2013-08-20 · in Node.js incorrectly parses HTTP methods -
…nodejs started. I don't have access to the repo right now (GH is down) but here is the source: https://github.com/joyent/http-parser
comment by zimbatm · 2013-05-12 · in HTTP as Imagined versus HTTP as Found -
…to do this, the HTTP protocol parser from node.js is really good, and deliberately easy to embed: https://github.com/joyent/http-parser
comment by pjscott · 2012-08-03 · in Python 101: An Intro to logging -
…pretty C, makes it clear that Ryan Dahl cares a lot about HTTP in node doing the Right Thing. https://github.com/joyent/http-parser/blob/master/http_parse... (This is also very handy for people writing HTTP servers and clients in other…
comment by pjscott · 2012-01-03 · in All Node.js servers are vulnerable to DoS