Ryan Dahl
357d7c2a24
Update readme
15 years ago
Ryan Dahl
a5d0d52a23
Don't delete http_parser.c on make clean
15 years ago
Ryan Dahl
bd291ab5d8
add license file
15 years ago
Ryan Dahl
4536312215
two builds in makefile
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
717d04ce2d
Optimize increasing the header_index
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
3ac0ebdee5
Passing tests
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
6cefbc13af
all scans works
15 years ago
Ryan Dahl
d931481302
fix bug, first scan 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
...
Trashing the old Ragel parser (which was based on Mongrel) because it's
proving difficult to get the control I need in end-of-message cases.
Replacing this with a hand written parser using a couple tricks borrowed
from NGINX. The new parser will be much more work to write, but should prove
faster and allow for better hacking.
15 years ago
Phoenix Sol
6bfd5bf76d
add ab to test
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 Dahl
cb91d5f00f
Fix typo in README
15 years ago
Ryan Dahl
a81e9d49f7
accept case-insensitive transfer encoding header
15 years ago
Ryan Dahl
d827cb368c
Allow quotes in URI
...
IE6 apparently sends such requests... Reported by Michael Carter.
15 years ago
Ryan Dahl
693e755c66
Add link to Lua binding
15 years ago
Ryan Dahl
91e6e6a4a8
Add link to yakischloba's ruby binding
15 years ago
Ryan
dbbc73c16f
API Change: Return void from http_parser_execute().
15 years ago
Ryan
65c61e6eb8
Move callback return value checking into macro
15 years ago
Ryan
efd801f410
Bug Fix: Connection:close with missing Content-Length.
...
The test and bug report are from tomika.
15 years ago
Ryan
f3214f9764
Move transfer encoding into flags bitfield.
15 years ago
Ryan
e65dcfbcf2
Use bit flags
15 years ago
Ryan
004aff9001
API Change: Demand that EOFs are passed to http_parser_execute().
15 years ago
Ryan
a7b96d81f1
API Change: parser->version_major/minor replaced with parser->version.
...
Allows for simpler processing.
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
15 years ago
Jeremy Hinegardner
b538749fc3
Allow spaces between a chunked start and the CRLF
16 years ago
Ryan
da47c13169
bump version
16 years ago
Joe Damato
431707b5b1
fixing bitfield misuse
16 years ago
Sergey Shepelev
0e34695b94
fixed link to gists, added 2 more links
16 years ago
Sergey Shepelev
9b6b8c288c
more detailed description of callbacks workflow
16 years ago
Jeremy Hinegardner
37a0ff8928
Initialize the on_fragment callback pointer
...
http_parser_init() did not initialize the http_parser.on_fragment.
16 years ago
Jeremy Hinegardner
4ac5581cc6
The Reason Phrase on a response is optional.
...
The standard has it as *<TEXT, exlcuding CR, LF>
and a response with no reason phrase was found in
the wild.
16 years ago
Ryan
36e74bea33
Add LICENSE file to 'make package'
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