Commit Graph

73 Commits (v0.6)

Author SHA1 Message Date
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
13 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
Ryan Dahl 4aebd8bbb9 reorder methods
15 years ago
Ryan Dahl 9c059ec60d Reimplement support for extension methods
15 years ago
Ryan Dahl 12808fe1e6 accept webdav methods
15 years ago
Ryan Dahl bd291ab5d8 add license file
15 years ago
Ryan Dahl 5b00b6a64f add http_should_keep_alive()
15 years ago
Ryan Dahl ca1e011ab3 add response scan, fix persistent bug
15 years ago
Ryan Dahl fb6dc67b05 strict check
15 years ago
Ryan Dahl 0642366f0e change around api
15 years ago
Ryan Dahl b283cd950f copyright header
15 years ago