http-parser
http-parser copied to clipboard
ignore headers transfer_encoding_chunked and content_length to work with http assemblers.
added ignore_header_transfer_encodig_chunked and ignore_header_content_length to settings.
ignore_header_content_length: useful if body length and content length does not match. happens with owa servers. or working with pre http assemblers that unzips compressed content without changing content-length.
ignore_header_transfer_encodig_chunked: useful when working with pre-http assemblers which assembles chunked content into one http packet without changing transfer-encoding field.
may be useful for someone.
Thanks, but since it's an ABI change (changes sizeof(struct http_parser)), it can't land until the next major release. That's not expected to happen anytime soon.