http-parser
http-parser copied to clipboard
http request/response parser for c
I've only tested this in freebsd-12.0 where the changes get me from syntax errors in the Makefile to passing `port test` with flying colors.
Fixing three Makefile related things, 1. LIBDIR should be configurable. INCLUDEDIR as well 2. fix SONAME so it represents actual ABI compatibility 3. symlinks should not have absolute paths
Hi, basically I was just messing around and did some benchmarking, found some interesting things, so I made some changes. Mostly to do with removing some of the branches and...
A previous change during a security fix added the ability to set a `lenient_http_headers` flag on the HTTP Parser instance. The way it was done was a bit of a...
This change adds non-standard HTTP method support. We added new callback on_method of type http_data_cb, which notifies incoming method. For non-standard HTTP method, method field in struct http_parser becomes HTTP_METHOD_UNKNOWN....
Skip whitespace from the left and the right sides of the header field. See: https://github.com/nodejs/node/pull/5844 cc @jasnell
Added rules to compile on MinGW platforms (Microsoft Windows environments): - Use 'gcc' as compiler. - Generate DLL file when compiling the library. - Disable -fPIC when compiling the library...
These callbacks can be used when developing transparent HTTP traffic analysis and filtering. The main goal of it is to handle transmitted data as-is, but having ability to distinguish data...
Addresses #275.
This allows distributions to be more easily relocatable, such as when bottling this library in Homebrew.