Commit Graph

180 Commits (2343fd6b5214b2ded2cdcf76de2bf60903bb90cd)

Author SHA1 Message Date
Ryan Dahl 2839784927 HTTP_STRICT ifdefs out behavior introduced in 50b9bec
14 years ago
Peter Griess 9639c7c21c Support ?-terminated hostnames per RFC 2396.3.2.
14 years ago
Peter Griess 50b9bec552 Allow octets > 127 in path components.
14 years ago
Ryan Dahl 63daf22f2c Update copyright headers
14 years ago
Ryan Dahl 1c3624a963 Detect errors on EOF
14 years ago
Nathan Rajlich d56a0700d0 Add support for "M-SEARCH" and "NOTIFY" request methods.
14 years ago
Ryan Dahl 03970a576d Test that it can handle $ in header field
14 years ago
Nathan Rajlich 84578ae7a8 Set http_major when a request omits the HTTP version
14 years ago
Ryan Dahl b75cea580a Test for dots at the begging on header fields
14 years ago
Ryan Dahl 04bc364610 Make sure it can handle spaces in content-length
14 years ago
Ryan Dahl 37e9009369 Digits in hostname on CONNECT req allowed
14 years ago
Ryan Dahl fb875caa43 Add non-ascii in status line test
14 years ago
Ryan Dahl 51de89f8b0 Accept tokens + SP for header fields
14 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
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 79947a7334 Remove EOL whitespace
15 years ago
Ryan Dahl b795f94686 Add method -> string lookup
15 years ago
Ryan Dahl 2fc9c8d801 Accidentally commented out a test
15 years ago
Ryan Dahl 51e9ff0314 Fix initialization bug.
15 years ago
Ryan Dahl a8f7a3cd78 add message_complete_on_eof test
15 years ago
Ryan Dahl bd291ab5d8 add license file
15 years ago
Ryan Dahl 4226a8f63b add tests for should_keep_alive()
15 years ago
Ryan Dahl 5b00b6a64f add http_should_keep_alive()
15 years ago
Ryan Dahl 5b37977e32 Don't put should_keep_alive messages in front of messages
15 years ago
Ryan Dahl 8f52d451a6 Add http version to tests
15 years ago
Ryan Dahl ca1e011ab3 add response scan, fix persistent bug
15 years ago
Ryan Dahl 3ac0ebdee5 Passing tests
15 years ago
Ryan Dahl 0642366f0e change around api
15 years ago
Ryan Dahl 3834853a8a uri -> url
15 years ago
Ryan Dahl 6cefbc13af all scans works
15 years ago
Ryan Dahl b71a17ec85 better output for test_scan
15 years ago
Ryan Dahl 0b8a48049c Handling chunked messages
15 years ago
Ryan Dahl a0476a08a0 better output on errors in test program
15 years ago
Ryan Dahl c5a92f792f Now parsing some req headers
15 years ago
Ryan Dahl 433202d825 new version
15 years ago
Phoenix Sol 6bfd5bf76d add ab to test
15 years ago
Ryan Dahl 2769741ba5 Fix LICENSE
15 years ago
Ryan Dahl d827cb368c Allow quotes in URI
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 004aff9001 API Change: Demand that EOFs are passed to http_parser_execute().
15 years ago
Ryan e244dbf797 Fix whitespace, clean up some macros.
15 years ago
Jeremy Hinegardner b538749fc3 Allow spaces between a chunked start and the CRLF
16 years ago
Jeremy Hinegardner 4ac5581cc6 The Reason Phrase on a response is optional.
16 years ago
Ryan 23b8eed44c Fix errors for -Wall.
16 years ago
Ryan 88049b02a5 test: Check that message_begin, message_complete, headers_complete always called
16 years ago
Ryan cc88f71204 Partially handle callback return values
16 years ago
Ryan c202e8ecbe Add second response fixture. Response tests pass.
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 9906cb69e6 Clean up the tests in preperation for testing responses.
16 years ago
Ryan 7476612ec2 Deep asserts in test.c
16 years ago
Ryan 97d4572c68 Remove "ebb_message" object from libebb's parser.
16 years ago