Commit Graph

74 Commits (03970a576da4fc921d164be35e0a27b5fbdb1cc5)

Author SHA1 Message Date
Ryan Dahl 03970a576d Test that it can handle $ in header field
15 years ago
Nathan Rajlich 84578ae7a8 Set http_major when a request omits the HTTP version
15 years ago
Ryan Dahl b75cea580a Test for dots at the begging on header fields
15 years ago
Ryan Dahl 04bc364610 Make sure it can handle spaces in content-length
15 years ago
Ryan Dahl 37e9009369 Digits in hostname on CONNECT req allowed
15 years ago
Ryan Dahl fb875caa43 Add non-ascii in status line test
15 years ago
Ryan Dahl 51de89f8b0 Accept tokens + SP for header fields
15 years ago
Ryan Dahl c1d48fdce8 Changes to compile with clang
15 years ago
Ryan Dahl c7c242d55c typo
15 years ago
Ryan Dahl 120f0f6e09 Allow spaces in header fields
15 years ago
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 5dd740304f test.c: get it to work with valgrind by using realloc less
15 years ago
Ryan Dahl 03b8eaa5f8 Reset url_mark on s_req_host
15 years ago
Ryan Dahl 9dc258f9dd Add subversion request methods
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 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
Ryan Dahl 8beed7ef17 Fix whitespace
15 years ago
Cliff Frey b8c3336f5d add support for HTTP_BOTH
15 years ago
Cliff Frey 7239788205 pass pointer to settings structure rather than pass by value
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 e09651c6bb cross platfom size_t printing
15 years ago
Ryan Dahl dbd2dad461 Introduce http_parser_settings
15 years ago
Ryan Dahl 8243fddd17 Fix c++ and mac compile errors
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
Ryan Dahl 9cbd66e49a Support 'Proxy-Connection' header
16 years ago
Ryan Dahl caef58793e Update license for 2010
16 years ago
Ryan Dahl 1a677040c0 API: Define parser type in http_parser_init()
16 years ago
Ryan Dahl 6108b765ce Bugfix: sometimes servers send \n instead of \r\n
16 years ago
Ryan Dahl 1d9ebac036 Revert "Add method -> string lookup"
16 years ago
Ryan Dahl 79947a7334 Remove EOL whitespace
16 years ago
Ryan Dahl b795f94686 Add method -> string lookup
16 years ago
Ryan Dahl 2fc9c8d801 Accidentally commented out a test
16 years ago
Ryan Dahl 51e9ff0314 Fix initialization bug.
16 years ago
Ryan Dahl a8f7a3cd78 add message_complete_on_eof test
16 years ago
Ryan Dahl bd291ab5d8 add license file
16 years ago
Ryan Dahl 4226a8f63b add tests for should_keep_alive()
16 years ago
Ryan Dahl 5b00b6a64f add http_should_keep_alive()
16 years ago
Ryan Dahl 5b37977e32 Don't put should_keep_alive messages in front of messages
16 years ago
Ryan Dahl 8f52d451a6 Add http version to tests
16 years ago
Ryan Dahl ca1e011ab3 add response scan, fix persistent bug
16 years ago
Ryan Dahl 3ac0ebdee5 Passing tests
16 years ago
Ryan Dahl 0642366f0e change around api
16 years ago
Ryan Dahl 3834853a8a uri -> url
16 years ago