http-parser
http-parser copied to clipboard
http request/response parser for c
Please include a NEWS or Changes file in the repository and distfiles, to make it easier to see what the changes between different versions are.
[test.c](https://github.com/nodejs/http-parser/blob/master/test.c) line 4042 to 4044 : > char * > create_large_chunked_message (int body_size_in_kb, const char* headers) > { > int i; > size_t wrote = 0; > size_t headers_len =...
Initially reported here: https://github.com/nghttp2/nghttp2/issues/602 I see in sources big switch with [hardcoded](https://github.com/nodejs/http-parser/blob/f2c26ee500ab3921010fa7ec66243365611e77dd/http_parser.c#L968) HTTP methods and rejects any custom methods, however, there is nothing in specs that forbids usage of custom...
Hi, I'm going to write CMakeLists.txt for http-parser to use it in my project. I could put a bit more effort into it (add tests support, install step, etc.) if...
master branch as of commit 4dae120, http_parser.c:1788 Neither SET_ERRNO nor RETURN are necessarily called in this case (s_headers_almost_done) and thus when on_headers_complete(parser) is called, parser still contains an old nread...
Hi, Would you be interested in enrolling your project into oss-fuzz? I have a pull request waiting to happen but before that I want to check if you are interested...
Here is the diff code: ``` +++ b/src/3rd_party/http_parser/http_parser.c @@ -1783,8 +1783,9 @@ reexecute: hasBody = parser->flags & F_CHUNKED || (parser->content_length > 0 && parser->content_length != ULLONG_MAX); - if (parser->upgrade &&...
While deploying [Envoy](https://github.com/envoyproxy/envoy), which uses this project for parsing HTTP/1.1 messages, we've seen an occasional bug in a web service where the health-check response contains duplicate `content-length` headers, looking like:...
I know it sounds crazy, but bear with me :wink: What would you think about rewriting whole project using some JavaScript tool to compile a DSL to a LLVM IR?...
the obj and bin files are stored under source code directory, would like to add a BINDIR in Makefile, to support parralle make for different target.