Commit Graph

226 Commits (d7675cd9a6d90b4a38c6b7e6a1ac20f441bc0329)
 

Author SHA1 Message Date
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
Ryan Dahl 1a677040c0 API: Define parser type in http_parser_init()
15 years ago
Ryan Dahl 6108b765ce Bugfix: sometimes servers send \n instead of \r\n
15 years ago
Ryan Dahl 1d9ebac036 Revert "Add method -> string lookup"
15 years ago
Ryan Dahl b5b116e59e Remove unused 's_headers_done' state
15 years ago
Ryan Dahl 79947a7334 Remove EOL whitespace
15 years ago
Ryan Dahl 402eda40a7 Change flag values to bit shifts
15 years ago
Ryan Dahl b795f94686 Add method -> string lookup
15 years ago
Ryan Dahl 4aebd8bbb9 reorder methods
15 years ago
Ryan Dahl 0d6cebd70b wasn't correctly setting method for PROPPATCH and PROPFIND
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 d53606f57e Add a macros for the usual case
15 years ago
Ryan Dahl 0cbc9101d0 Use error label, instead of returning directly
15 years ago
Ryan Dahl 2fc9c8d801 Accidentally commented out a test
15 years ago
Ryan Dahl 769f06ef93 add tags to make clean
15 years ago
Ryan Dahl d1e0af7420 fix spelling
15 years ago
Ryan Dahl 51e9ff0314 Fix initialization bug.
15 years ago