Commit Graph

142 Commits (956c8a054a8d8e8fd8eaca6827aedfaf08911cab)

Author SHA1 Message Date
Jon Kolb 091ebb8778 src: simple Connection header multi-value parsing
10 years ago
Alexis La Goutte 5fd51fd59d Fix warning on test suite found by Clang Analyzer
10 years ago
Jeff Pinner 0b43367131 http_parser: Follow RFC-7230 Sec 3.2.4
10 years ago
David Wragg 76f0f1690f Fix issues around multi-line headers
11 years ago
David Wragg 5d9c382172 Include separating ws when folding header values
11 years ago
Alexis Campailla a252d4eebc fix content-length and chunk-size overflow test
11 years ago
Fedor Indutny efcf75d837 test: better fix for __APPLE__ test build
11 years ago
Fedor Indutny 9ca484d4c6 test: fix build on osx
11 years ago
Patrik Stutz d7b938bdca Parse and emit status message of response
11 years ago
Ben Noordhuis 3cbd13daca test: add amazon.com response test
11 years ago
Ben Noordhuis 547553b090 Further request method check strengthening.
11 years ago
Chris Dickinson c6ee6ada69 Do not accept PUN/GEM methods as PUT/GET.
11 years ago
Ben Noordhuis d3264312e1 Add function http_parser_version().
11 years ago
Tóth Tamás 0938fe599f Add on_status_complete callback.
12 years ago
Corey Richardson 54f6c78530 Fix unmatched quote in dump_url output.
12 years ago
Corey Richardson 1c7f8cac9e Fix IPv6 address parsing.
12 years ago
Ben Noordhuis cd01361819 test: fix buffer overflow in large header test
12 years ago
Ben Noordhuis 14d42be21a test: use error-checking strncat/strncpy replacements
12 years ago
Ben Noordhuis 245f6f0078 Remove HTTP_PARSER_DEBUG macro.
12 years ago
BogDan Vatra 1ca7de5258 Add "int http_body_is_final(const http_parser *parser)" method.
12 years ago
Ben Noordhuis add3018ce7 Add bounds check to http_method_str().
12 years ago
Bertrand Paquet 1d3a0ec752 Use fixed_length printf instead of copying data and do null-termination
13 years ago
Bertrand Paquet d2ce562338 Use new state instead of pointer
13 years ago
Bertrand Paquet bb29f43741 Coding style improvment
13 years ago
Bertrand Paquet e42aa93b52 Add tests
13 years ago
Bertrand Paquet f6f761596e Small refactoring, add edge cases
13 years ago
Bertrand Paquet fe31fe8bf0 Add tests on user info
13 years ago
Bertrand Paquet 7965096276 User info implementation
13 years ago
Bertrand Paquet 9dfaa67f2b Check host on url with hostname:port
13 years ago
Martell Malone 9852e5d048 test: %zu to %lu for msvcrt fixes for Mingw64
13 years ago
Ben Noordhuis b97fdb0513 Don't assert() on whitespace in URL.
13 years ago
Nathan Rajlich a3373d7627 add support for "SEARCH" request methods
13 years ago
Nathan Rajlich 5a1e556239 test.c: fix off-by-one on the requests test cases
13 years ago
Ben Noordhuis 99c0850240 test: abort(), don't exit()
13 years ago
Ben Noordhuis 62110efe7a Support PURGE request method.
13 years ago
David Gwynne 662e523a92 fix non-CONNECT tests missing port/hostname bits
13 years ago
David Gwynne 67568421e9 allow extra ? at the beginning of a query_string.
13 years ago
David Gwynne 8da60bc423 implement parsing of v6 addresses and rejection of 0-length host and ports.
13 years ago
David Gwynne 0499525110 Fix http_parser_parse_url for urls like "http://host/path".
13 years ago
Ben Noordhuis c3153bd1a9 Eat CRLF between requests, even on connection:close.
13 years ago
Ben Noordhuis f668e72380 Make content_length unsigned, add overflow checks.
13 years ago
Ivo Raisr 2a2f99f9cd http_parser_init does not clear status_code
13 years ago
Peter Griess eb04bbe1fa Merge pull request #73 from pgriess/http-10-message-length
13 years ago
Peter Griess d0bb867d1b Implement http_parser_pause().
13 years ago
Peter Griess b115d110a3 Don't wait for EOF on 0-length KA messages.
13 years ago
Peter Griess 248fbc3ab4 Get HTTP/1.1 message length logic working for HTTP/1.0
13 years ago
Peter Griess d7675cd9a6 Add http_parser_parse_url().
13 years ago
Peter Griess 48a4364fdd Remove some chars from tokens[] per RFC.
13 years ago
koichik b47c44d7a6 Fix response body is not read
13 years ago
Felix Geisendörfer 2498961231 Accept HTTP/0.9 responses
13 years ago