Ryan Dahl
047ced3784
readme typo (thanks tmm1)
14 years ago
Ryan Dahl
f0d50c3fb1
Update size of struct in README
15 years ago
Ryan Dahl
d95b484e41
Update readme
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
69cf8d8da9
Add documentation about callback return valeus
15 years ago
Ryan Dahl
dbd2dad461
Introduce http_parser_settings
15 years ago
Ryan Dahl
1a677040c0
API: Define parser type in http_parser_init()
...
That is, for a request parser do this:
http_parser_init(my_parser, HTTP_REQUEST)
for a response parser do this:
http_parser_init(my_parser, HTTP_RESPONSE)
Then http_parse_requests() and http_parse_responses() both turn
into http_parer_execute().
15 years ago
Ryan Dahl
9c059ec60d
Reimplement support for extension methods
...
This sacrifices
- a little space (10 bytes),
- a few extra calculations, and
- introduces a dependency on strncmp()
to dramatically simplify the code of parsing methods and support almost
arbitrary extension methods.
In the future I will do as NGINX does and not use strncmp but bit level
blob comparisons.
15 years ago
Ryan Dahl
d1e0af7420
fix spelling
15 years ago
Ryan Dahl
357d7c2a24
Update readme
15 years ago
Ryan Dahl
fb6dc67b05
strict check
15 years ago
Ryan Dahl
2769741ba5
Fix LICENSE
15 years ago
Ryan Dahl
cb91d5f00f
Fix typo in README
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
004aff9001
API Change: Demand that EOFs are passed to http_parser_execute().
15 years ago
Ryan
e244dbf797
Fix whitespace, clean up some macros.
15 years ago
Ryan
da47c13169
bump version
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
Ryan
9f59cd926f
Check for buffer overflow attacks.
16 years ago
Ryan
f6dc4f3d4b
Add docs regarding the resetting of status_code
16 years ago
Ryan
86bee2ea5f
update readme with repo links
16 years ago
Ryan
8cae1feeb4
random clean ups
16 years ago
Ryan
d1d91be27b
add list of features to readme
16 years ago
Ryan
1500261a35
Add README file.
16 years ago