Commit Graph

443 Commits (master)
 

Author SHA1 Message Date
Santiago Gala 0264a0aefc Upgrade on CONNECT method
15 years ago
Cliff Frey c83a018d05 test: always try and break every testcase up into two submessages
15 years ago
Cliff Frey deaee07c86 fix http_parser_init to initialize flags correctly
15 years ago
Cliff Frey 5dd740304f test.c: get it to work with valgrind by using realloc less
15 years ago
Ryan Dahl c46b3e3942 Fix typo s_start_res_or_resp
15 years ago
Ryan Dahl 03b8eaa5f8 Reset url_mark on s_req_host
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 6533f8ac9c do not access random memory before lowcase array
15 years ago
Cliff Frey 9eac636531 save more space by removing buffer and shortening method
15 years ago
Cliff Frey 7a1103ae53 add tests of method strings
15 years ago
Cliff Frey 634c3a6d26 test: fix compile warnings about printf + size_t
15 years ago
Cliff Frey 546f43a782 remove body_read
15 years ago
Cliff Frey 2d16d50425 only increment nread while looking at headers
15 years ago
Cliff Frey b413961182 test.c: add cases for header overflow conditions
15 years ago
Ryan Dahl 4cf39fd2fa Support request URLs without schema
15 years ago
Ryan Dahl cdda8b6a60 Support empty header values
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
Ryan Dahl d95b484e41 Update readme
15 years ago
Ryan Dahl 8beed7ef17 Fix whitespace
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
Cliff Frey 83b2a527db Makefile: add http_parser.h dependencies to test targets
15 years ago
Ryan Dahl 443a6ea625 Use _g for the debug build
15 years ago
Ryan Dahl 7cfa645fc7 Fix long chunked message bug
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 69cf8d8da9 Add documentation about callback return valeus
15 years ago
Ryan Dahl e09651c6bb cross platfom size_t printing
15 years ago
Ryan Dahl da30924dc8 Use stddef.h
15 years ago
Ryan Dahl a458431e38 Remove string.h include
15 years ago
Ryan Dahl e07e0b952e Tasteful vertical whitespace.
15 years ago
Ryan Dahl 4bce6b4467 Use nginx-style method compare
15 years ago
Ryan Dahl dbd2dad461 Introduce http_parser_settings
15 years ago
Ryan Dahl ef14734f6c Use marcros instead of inline funcs to do callbacks
15 years ago
Ryan Dahl d37a9c5b9b fix typos
15 years ago
Ryan Dahl 8243fddd17 Fix c++ and mac compile errors
15 years ago
Ryan Dahl 1b30bf4ba5 Only allow 80kb of header bytes
15 years ago
Cliff Frey d5a900264f Allow newlines before HTTP requests.
15 years ago
Cliff Frey f167565742 Allow '_' in header fields.
15 years ago
Cliff Frey 6409a5bd17 Allow extra '?' in query strings, and add a test for it.
15 years ago
Cliff Frey ae8234de93 Prevent uninitialized variable use
15 years ago
Cliff Frey 31d9f0099c Makefile: fix include path
15 years ago
Ryan Dahl 9cbd66e49a Support 'Proxy-Connection' header
15 years ago
Ryan Dahl caef58793e Update license for 2010
15 years ago