Commit Graph

55 Commits (5f27ea8179af48a1ac5a8f2583f27a05be28a91e)

Author SHA1 Message Date
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 9eac636531 save more space by removing buffer and shortening method
15 years ago
Cliff Frey 546f43a782 remove body_read
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
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
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 e07e0b952e Tasteful vertical whitespace.
15 years ago
Ryan Dahl dbd2dad461 Introduce http_parser_settings
15 years ago
Ryan Dahl d37a9c5b9b fix typos
15 years ago
Ryan Dahl 1b30bf4ba5 Only allow 80kb of header bytes
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 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 4aebd8bbb9 reorder methods
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 bd291ab5d8 add license file
15 years ago
Ryan Dahl 5b00b6a64f add http_should_keep_alive()
15 years ago
Ryan Dahl ca1e011ab3 add response scan, fix persistent bug
15 years ago
Ryan Dahl fb6dc67b05 strict check
15 years ago
Ryan Dahl 0642366f0e change around api
15 years ago
Ryan Dahl b283cd950f copyright header
15 years ago
Ryan Dahl 3834853a8a uri -> url
15 years ago
Ryan Dahl 0b8a48049c Handling chunked messages
15 years ago
Ryan Dahl c5a92f792f Now parsing some req headers
15 years ago
Ryan Dahl 433202d825 new version
15 years ago
Ryan Dahl 2769741ba5 Fix LICENSE
15 years ago
Ryan Dahl ce381895aa Use enums instead of defines (for better debugging symbols)
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 f3214f9764 Move transfer encoding into flags bitfield.
15 years ago
Ryan e65dcfbcf2 Use bit flags
15 years ago
Ryan a7b96d81f1 API Change: parser->version_major/minor replaced with parser->version.
15 years ago
Ryan 59a37f6600 Inline http_parser_should_keep_alive().
15 years ago
Ryan e244dbf797 Fix whitespace, clean up some macros.
15 years ago
tomika 152cce76df Include added for MSC compatibilty
16 years ago
Joe Damato 431707b5b1 fixing bitfield misuse
16 years ago
Ryan cc5c9b037c Correctly error out on non-zero return values.
16 years ago
Ryan 9f59cd926f Check for buffer overflow attacks.
16 years ago
Ryan 961d455618 Add license file with Mongrel's license.
16 years ago