Commit Graph

175 Commits (v2.5.0)

Author SHA1 Message Date
Kjell Schubert dff604db20 src: support body in Upgrade requests
10 years ago
Kjell Schubert d7675453a6 src: callbacks chunk boundaries: header/complete
10 years ago
Fedor Indutny 7ecf775d71 src: partially revert 959f4cb to fix nread value
10 years ago
Romain Giraud 53063b780b Add function to initialize http_parser_settings
10 years ago
Fedor Indutny 59569f2125 src: skip lws between `connection` values
10 years ago
Fedor Indutny 280af6984c src: fix build on MSVC
10 years ago
Fedor Indutny 3f7ef500bd src: annotate with likely/unlikely
10 years ago
Jon Kolb 091ebb8778 src: simple Connection header multi-value parsing
10 years ago
Fedor Indutny 959f4cb127 src: remove reexecute goto
10 years ago
Fedor Indutny 0097de5895 src: use memchr() in h_general header value
10 years ago
Fedor Indutny c6097e1d76 src: faster general header value loop
10 years ago
Fedor Indutny 263006044a src: less loads in header_value loop
10 years ago
Fedor Indutny 0cb0ee672c src: tighten header field/value loops
10 years ago
Fedor Indutny 6132d1fefa src: save progress
10 years ago
Jeff Pinner 0b43367131 http_parser: Follow RFC-7230 Sec 3.2.4
10 years ago
Alexis La Goutte 5b951d74bd src: fix clang warning
10 years ago
Helge Heß 1317eeca43
Added support for MKCALENDAR
11 years ago
Vinnie Falco 24e2d2d43f Allow HTTP_MAX_HEADER_SIZE to be defined externally
11 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
Patrik Stutz d7b938bdca Parse and emit status message of response
11 years ago
Ben Noordhuis f5c779bb85 Update misleading comment.
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 1c7f8cac9e Fix IPv6 address parsing.
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 ad3b631d4f Turn normal_url_char into a bit array.
12 years ago
Ben Noordhuis add3018ce7 Add bounds check to http_method_str().
12 years ago
Ben Noordhuis 9f92347851 Make http_should_keep_alive() const correct.
12 years ago
Bertrand Paquet a828edaf6a Add a comment
13 years ago
Bertrand Paquet 50faa793f4 Coding style : remove space before ++
13 years ago
Bertrand Paquet 148984cd8d Rename s_req_host* to be compliant with RFC 2396
13 years ago
Bertrand Paquet 7f1b191d6f Minor speed improvment
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 f6f761596e Small refactoring, add edge cases
13 years ago
Bertrand Paquet 7965096276 User info implementation
13 years ago
Bertrand Paquet ed8475d49f Refactor host parsing to allow basic auth management
13 years ago
Ben Noordhuis b97fdb0513 Don't assert() on whitespace in URL.
13 years ago
Ben Noordhuis 8bec3ea459 Create method_strings array with HTTP_METHOD_MAP macro.
13 years ago
Nathan Rajlich a3373d7627 add support for "SEARCH" request methods
13 years ago
Ben Noordhuis 62110efe7a Support PURGE request method.
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