Commit Graph

82 Commits (26f508a289d45e143f6efcbdd00fe5822d529e33)

Author SHA1 Message Date
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 36808f4fad Replace HTTP methods enum with X-macro map.
13 years ago
Ben Noordhuis efb72f175c Remove unused struct http_parser_result from header.
13 years ago
Ben Noordhuis 62110efe7a Support PURGE request method.
13 years ago
Randy Rizun b215eaa749 removed obsolete CB_path, CB_query_string and CB_fragment
13 years ago
Ben Noordhuis f668e72380 Make content_length unsigned, add overflow checks.
13 years ago
Peter Griess d0bb867d1b Implement http_parser_pause().
13 years ago
Peter Griess d7675cd9a6 Add http_parser_parse_url().
13 years ago
Ryan Dahl 3cf68f9a70 Fix compilation on MSVC 2008 which doesn't bundle stdint.h
13 years ago
Ben Noordhuis 75dc103fd0 Single-bit bitfield 'upgrade' should be unsigned.
13 years ago
Ryan Dahl 965f91bc76 Support MSVS
14 years ago
Fouad Mardini 2b2ba2da1a rename parser->errno to parser->http_errno; conflicts with errno.h where errno is defined as a macro
14 years ago
Peter Griess 53adfacad1 API CHANGE: Remove path, query, fragment CBs.
14 years ago
Peter Griess 761a5eaeb1 Break out errno into its own field.
14 years ago
Peter Griess 9114e58a77 Facility to report detailed parsing errors.
14 years ago
Ryan Dahl eee60127c0 Support PATCH method
14 years ago
Ryan Dahl 2839784927 HTTP_STRICT ifdefs out behavior introduced in 50b9bec
14 years ago
Peter Griess b1c2cf83fd Expose F_* flags as public API.
14 years ago
Ryan Dahl 32c0e11583 bump to v1.0
14 years ago
Ryan Dahl 63daf22f2c Update copyright headers
14 years ago
Nathan Rajlich f825b52b7f Added support for "SUBSCRIBE" and "UNSUBSCRIBE" request methods.
14 years ago
Nathan Rajlich d56a0700d0 Add support for "M-SEARCH" and "NOTIFY" request methods.
14 years ago
Aman Gupta cae8a96c16 Fix build issues using mingw32 on windows
14 years ago
Ewen Cheslack-Postava 24be793f64 Provide typedefs instead of using stdint.h on Windows.
14 years ago
Cliff Frey c30ea4515c save 8 bytes in http_parser structure
14 years ago
Ryan Dahl a59ba4d866 Support long messages
15 years ago
Ewen Cheslack-Postava 4afe80a44e Add definitions and typedefs to support compilation in Visual Studio under C++ mode.
15 years ago
Ryan Dahl ddbd5c3728 Expose http_method_str() to get a string version of a method
15 years ago
Ryan Dahl 9dc258f9dd Add subversion request methods
15 years ago
Cliff Frey 9eac636531 save more space by removing buffer and shortening method
15 years ago
Cliff Frey 546f43a782 remove body_read
15 years ago
Cliff Frey 8732d108a4 stop tracking lengths of returned values
15 years ago
Cliff Frey 076fa15132 reduce the size of the http_parser struct
15 years ago
Cliff Frey 5502cddd35 reduce http_parser from 60 bytes to 48 bytes
15 years ago
Cliff Frey 0e8ad4e003 reduce size of http_parser object from 104 to 84 bytes by only tracking one field size
15 years ago
Cliff Frey b8c3336f5d add support for HTTP_BOTH
15 years ago
Ryan Dahl c2acc213ac Skip body for HEAD responses
15 years ago
Cliff Frey 7239788205 pass pointer to settings structure rather than pass by value
15 years ago
Ryan Dahl 88d11b394d Support Upgrade header
15 years ago
Ryan Dahl 6f72c780f0 Remove stddef include, it's included in http_parser.c
15 years ago
Ryan Dahl e07e0b952e Tasteful vertical whitespace.
15 years ago
Ryan Dahl dbd2dad461 Introduce http_parser_settings
15 years ago
Ryan Dahl d37a9c5b9b fix typos
15 years ago
Ryan Dahl 1b30bf4ba5 Only allow 80kb of header bytes
15 years ago
Ryan Dahl caef58793e Update license for 2010
15 years ago
Ryan Dahl 1a677040c0 API: Define parser type in http_parser_init()
15 years ago
Ryan Dahl 1d9ebac036 Revert "Add method -> string lookup"
15 years ago
Ryan Dahl 79947a7334 Remove EOL whitespace
15 years ago
Ryan Dahl b795f94686 Add method -> string lookup
15 years ago