Commit Graph

164 Commits (edeedb1b4d2f34e4c7d8045ac8b92adbc35e7ed7)

Author SHA1 Message Date
Ben Noordhuis 921d558551 parser: add support for icecast SOURCE method
7 years ago
Fedor Indutny 9ce7316de3 src: fix out-of-bounds read through `strtoul`
7 years ago
Ben Noordhuis 05525c5fde Ignore Upgrade header outside of 101 response.
8 years ago
Ben Noordhuis 260c522330 Fix typo in test name.
8 years ago
Thomas 'fake' Jakobi 3b0da34d83 Tolerate non-compliant status line responses
8 years ago
Brian White 9f489a474d parser: fix HTTP version parsing
8 years ago
Ben Noordhuis cacb07d2b4 parser: fix Content-Length header parsing.
8 years ago
Guo Xiao b2cc8e49f3 test: remove ‘nread’, which is not used
9 years ago
Fedor Indutny 04d28a7377 parser: returning 2 from on_headers_complete
9 years ago
Johan Bergström 5651aea804 test: add a test for for obstext characters (> 0x80)
9 years ago
Johan Bergström 678a9e21f1 test: Assert against correct error messages
9 years ago
James M Snell e2e467b912 Update http-parser to 2.6.1
9 years ago
Olivier Mengué e557b62744 src: support LINK/UNLINK (RFC 2068, draft-snell-link-method)
9 years ago
Ivan Enderlin eb5e9928b4 src: support ACL (WebDAV, RFC3744, Section 8.1).
9 years ago
Ivan Enderlin b5bcca8f92 test: `SEARCH`, `PURGE` and `MKCALENDAR`
9 years ago
Ivan Enderlin 8b1d652322 src: support BIND/REBIND/UNBIND (WebDAV, RFC5842)
9 years ago
Tatsuhiro Tsujikawa 7d75dd7325 src: support IPv6 Zone ID as per RFC 6874
10 years ago
Kjell Schubert dff604db20 src: support body in Upgrade requests
10 years ago
Kjell Schubert d7675453a6 src: callbacks chunk boundaries: header/complete
10 years ago
Kjell Schubert 2872cb7e6a test: regression test for incomplete/corrupted hdr
10 years ago
Fedor Indutny 7ecf775d71 src: partially revert 959f4cb to fix nread value
10 years ago
Fedor Indutny 59569f2125 src: skip lws between `connection` values
10 years ago
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