Commit Graph

137 Commits (28f3c35c215ffbe0241685901338fad484660454)

Author SHA1 Message Date
Peter Griess ba5acd532f Merge pull request #104 from simonz05/patch-1
13 years ago
Peter Griess fb3eeb7d05 Merge pull request #118 from bpaquet/master
13 years ago
James McLaughlin 8ee3b0dc93 Make size_t and ssize_t Windows typedefs more appropriate
13 years ago
Bertrand Paquet 7965096276 User info implementation
13 years ago
Simon 905e959130 Correct misspelling in http_parser.h
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 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
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
Ryan Dahl 3834853a8a uri -> url
15 years ago
Ryan Dahl 0b8a48049c Handling chunked messages
15 years ago
Ryan Dahl c5a92f792f Now parsing some req headers
15 years ago
Ryan Dahl 433202d825 new version
15 years ago
Ryan Dahl 2769741ba5 Fix LICENSE
15 years ago
Ryan Dahl ce381895aa Use enums instead of defines (for better debugging symbols)
15 years ago
Ryan dbbc73c16f API Change: Return void from http_parser_execute().
15 years ago
Ryan efd801f410 Bug Fix: Connection:close with missing Content-Length.
15 years ago
Ryan f3214f9764 Move transfer encoding into flags bitfield.
15 years ago
Ryan e65dcfbcf2 Use bit flags
15 years ago
Ryan a7b96d81f1 API Change: parser->version_major/minor replaced with parser->version.
15 years ago
Ryan 59a37f6600 Inline http_parser_should_keep_alive().
15 years ago
Ryan e244dbf797 Fix whitespace, clean up some macros.
15 years ago
tomika 152cce76df Include added for MSC compatibilty
16 years ago
Joe Damato 431707b5b1 fixing bitfield misuse
16 years ago
Ryan cc5c9b037c Correctly error out on non-zero return values.
16 years ago
Ryan 9f59cd926f Check for buffer overflow attacks.
16 years ago
Ryan 961d455618 Add license file with Mongrel's license.
16 years ago
Ryan 8cae1feeb4 random clean ups
16 years ago
Ryan 7898f1a97a add http_parser_should_keep_alive()
16 years ago
Ryan c288a966fe lint
16 years ago
Ryan 5214fb2524 for clarity, replace is_request_stream with enum http_parser_type
16 years ago
Ryan 97d4572c68 Remove "ebb_message" object from libebb's parser.
16 years ago