Commit Graph

102 Commits (89a9da056086112d88f3076246e9a7cbdc91c446)

Author SHA1 Message Date
Ben Noordhuis f668e72380 Make content_length unsigned, add overflow checks.
13 years ago
Ivo Raisr 2a2f99f9cd http_parser_init does not clear status_code
13 years ago
Peter Griess eb04bbe1fa Merge pull request #73 from pgriess/http-10-message-length
13 years ago
Peter Griess d0bb867d1b Implement http_parser_pause().
13 years ago
Peter Griess b115d110a3 Don't wait for EOF on 0-length KA messages.
13 years ago
Peter Griess 248fbc3ab4 Get HTTP/1.1 message length logic working for HTTP/1.0
13 years ago
Peter Griess d7675cd9a6 Add http_parser_parse_url().
13 years ago
Peter Griess 48a4364fdd Remove some chars from tokens[] per RFC.
13 years ago
koichik b47c44d7a6 Fix response body is not read
13 years ago
Felix Geisendörfer 2498961231 Accept HTTP/0.9 responses
13 years ago
Peter Griess 53adfacad1 API CHANGE: Remove path, query, fragment CBs.
14 years ago
Jon Kolb 8153466643 Group POST refinements, test all request methods, make IS_ALPHA use LOWER internally
14 years ago
Peter Griess 9114e58a77 Facility to report detailed parsing errors.
14 years ago
Peter Griess ddbbc07c10 Fix minor compilation bug introduced by merge.
14 years ago
Peter Griess 056bcd3672 Merge pull request #49 from pgriess/upgrade-off-by-one
14 years ago
Peter Griess d4ca280af5 Fix off-by-one in handling upgrade bodies.
14 years ago
Jon Kolb a6934445e8 Allow uppercase chars in IS_ALPHANUM
14 years ago
Jon Kolb dc314a3cb9 Return error when bad method starts with M or C
14 years ago
Sean Cunningham b89f94414e Support multi-line folding in header values.
14 years ago
Ryan Dahl eee60127c0 Support PATCH method
14 years ago
Ryan Dahl 1efd9ac6a0 Number HOSTNAME_UNDERSCORE test
14 years ago
Peter Griess 3bd18a779e IS_* macros for char classes.
14 years ago
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