Commit Graph

174 Commits (event_stream)
 

Author SHA1 Message Date
Ryan Dahl ff762c2c9b improve execute2 doc
14 years ago
Ryan Dahl c95a547959 event stream
14 years ago
Nathan Rajlich f825b52b7f Added support for "SUBSCRIBE" and "UNSUBSCRIBE" request methods.
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
Aman Gupta cae8a96c16 Fix build issues using mingw32 on windows
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
Cliff Frey 90320fde7a Remove acceptable_header array
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
Ewen Cheslack-Postava 24be793f64 Provide typedefs instead of using stdint.h on Windows.
14 years ago
Ryan Dahl 047ced3784 readme typo (thanks tmm1)
14 years ago
Nathan Rajlich a66c61c190 Allow whitespace in the 'Content-Length' header.
14 years ago
Cliff Frey 459507f534 avoid assertion failure in error case
14 years ago
Ben Noordhuis cbb194ea8c Replace C++ style comments with C comments so it compiles with `gcc -ansi -Wall`
14 years ago
Cliff Frey c30ea4515c save 8 bytes in http_parser structure
14 years ago
Cliff Frey ca2514dd3a Array type cleanups. Also save space
14 years ago
Cliff Frey 423c90d9fe fixes for architectures with signed char default
14 years ago
Ryan Dahl c1d48fdce8 Changes to compile with clang
15 years ago
Ryan Dahl 6f12467a8a Use lookup tables of my own.
15 years ago
Jeff Terrace d0dfc98773 Initialize method member to avoid falsely upgrading connections. Fixed Issue #7
15 years ago
Ryan Dahl d6f34ae992 Add CONTRIBUTIONS file
15 years ago
Ryan Dahl f0d50c3fb1 Update size of struct in README
15 years ago
Ryan Dahl c7c242d55c typo
15 years ago
Ryan Dahl a59ba4d866 Support long messages
15 years ago
Ryan Dahl 120f0f6e09 Allow spaces in header fields
15 years ago
Ryan Dahl 5f27ea8179 Fix long line
15 years ago
Tim Becker 8c3101cbe2 redundant upgrade flag check
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 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