Commit Graph

26 Commits (65c61e6eb8be58194c5ad1bace7fa2126da13113)

Author SHA1 Message Date
Ryan 65c61e6eb8 Move callback return value checking into macro
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
Jeremy Hinegardner b538749fc3 Allow spaces between a chunked start and the CRLF
16 years ago
Jeremy Hinegardner 37a0ff8928 Initialize the on_fragment callback pointer
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 cc5c9b037c Correctly error out on non-zero return values.
16 years ago
Ryan 900815228c Don't be clever with the includes
16 years ago
Ryan 9367b74a3d Check for integer overflow in content-length.
16 years ago
Ryan 9f59cd926f Check for buffer overflow attacks.
16 years ago
Ryan 1776708191 stylistic clean ups. dont include assert.h unless NDEBUG
16 years ago
Ryan 961d455618 Add license file with Mongrel's license.
16 years ago
Ryan 8cae1feeb4 random clean ups
16 years ago
Ryan 7898f1a97a add http_parser_should_keep_alive()
16 years ago
Ryan fff71362fe Break on non-zero return value from on_body and on_headers_complete.
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 7476612ec2 Deep asserts in test.c
16 years ago
Ryan 97d4572c68 Remove "ebb_message" object from libebb's parser.
16 years ago