Ivan Enderlin
4f69be2221
readme: update WebSocket link to RFC6455
...
PR-URL: https://github.com/joyent/http-parser/pull/240
Reviewed-By: Fedor Indutny <fedor@indutny.com>
9 years ago
Akagi201
167dcdfc06
readme: fix typo
...
PR-URL: https://github.com/joyent/http-parser/pull/207
Reviewed-By: Fedor Indutny <fedor@indutny.com>
10 years ago
Mark Koopman
08a2cc36eb
very minor spelling/grammar changes in README.md
...
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago
Rex Feng
8d9e5db981
fix typo in README comment
11 years ago
Uli Köhler
c4079e7c38
Add syntax highlighting to README C code
11 years ago
Corey Richardson
fa7455081a
doc: add travis build status link
12 years ago
Peter Faiman
b4fc777dc6
fix old references to on_path
12 years ago
Ben Noordhuis
c6e10e98e3
docs: update links to examples
13 years ago
Andre Louis Caron
9db90de9fc
docs: fix broken URL in README
13 years ago
Peter Griess
d7675cd9a6
Add http_parser_parse_url().
...
- Add an http_parser_parse_url() method to parse a URL into its
constituent components. This uses the same underlying parser
as http_parser_parse() and doesn't do any data copies.
- Re-add the URL components in various test.c structures; validate
them when parsing.
13 years ago
Peter Griess
31ee648709
Cleanup doc references to removed CBs.
14 years ago
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