Corey Richardson
fa7455081a
doc: add travis build status link
12 years ago
Ben Noordhuis
120a2c5c9b
Move url_parser.c to contrib/
12 years ago
Ben Noordhuis
fe9fb34e53
Update AUTHORS and .mailmap
12 years ago
Tóth Tamás
0938fe599f
Add on_status_complete callback.
...
Add a "status complete" callback to support Simple-Response handling with HTTP
version <= 1.0.
Patch by Tóth Tamás, tests by Corey Richardson.
12 years ago
Corey Richardson
798eb9012e
Add a simple utility to dump events as they happen
12 years ago
Thomas LE ROUX
769db22859
Update AUTHORS
12 years ago
James McLaughlin
2b77aba93a
Fix MSVS 2005 and 2008 missing size_t typdef.
...
Replace manual size_t typedef with stddef.h include
Fixes #128 , #141 .
12 years ago
Corey Richardson
54f6c78530
Fix unmatched quote in dump_url output.
12 years ago
Ben Noordhuis
43ccd6aa76
Update AUTHORS
12 years ago
Corey Richardson
1c7f8cac9e
Fix IPv6 address parsing.
...
Fixes #133 .
12 years ago
Ben Noordhuis
cd01361819
test: fix buffer overflow in large header test
...
Fixes #136 .
12 years ago
Ben Noordhuis
14d42be21a
test: use error-checking strncat/strncpy replacements
12 years ago
Ben Noordhuis
245f6f0078
Remove HTTP_PARSER_DEBUG macro.
...
Remove the HTTP_PARSER_DEBUG macro for two reasons:
* It changes the size of struct http_parser, resulting in spurious memory
corruption bugs if part of your application is built with HTTP_PARSER_DEBUG=1
and other parts with HTTP_PARSER_DEBUG=0.
* It's a debugging tool for maintainers. It should never have been exposed in
the API in the first place.
12 years ago
Peter Faiman
b4fc777dc6
fix old references to on_path
12 years ago
Ben Noordhuis
02f06ff290
gitignore: ignore gyp build dir
12 years ago
Ben Noordhuis
a0fd3323dd
build: add default build flags to gyp script
12 years ago
Ben Noordhuis
ce6d7efff7
build: compile strict and non-strict tests
...
Make gyp compile the library and the test suite in both strict and non-strict
mode.
Fixes a failing test where the test was strict but the library was not.
Fixes #129 .
12 years ago
Ben Noordhuis
3fb4e061ec
Bump to version 2.0
12 years ago
Ben Noordhuis
0e67f6b532
Update AUTHORS
12 years ago
BogDan Vatra
1ca7de5258
Add "int http_body_is_final(const http_parser *parser)" method.
...
It's useful to check if the current chunk is the last one.
12 years ago
Ben Noordhuis
ad3b631d4f
Turn normal_url_char into a bit array.
...
Makes http_parser slightly more cache friendly.
12 years ago
Ben Noordhuis
4e1a6ab655
Update AUTHORS
12 years ago
Ben Noordhuis
add3018ce7
Add bounds check to http_method_str().
12 years ago
Ben Noordhuis
9f92347851
Make http_should_keep_alive() const correct.
12 years ago
Ben Noordhuis
2b7e87cc77
Fix bad http_should_keep_alive() comment.
13 years ago
Peter Griess
ba5acd532f
Merge pull request #104 from simonz05/patch-1
...
Correct misspelling in http_parser.h
13 years ago
Peter Griess
fb3eeb7d05
Merge pull request #118 from bpaquet/master
...
#116 : refactor to allow url with basic auth a:b@toto.com
13 years ago
Bertrand Paquet
a828edaf6a
Add a comment
13 years ago
Bertrand Paquet
50faa793f4
Coding style : remove space before ++
13 years ago
Bertrand Paquet
148984cd8d
Rename s_req_host* to be compliant with RFC 2396
13 years ago
Bertrand Paquet
7f1b191d6f
Minor speed improvment
13 years ago
Bertrand Paquet
1d3a0ec752
Use fixed_length printf instead of copying data and do null-termination
13 years ago
Bertrand Paquet
d2ce562338
Use new state instead of pointer
13 years ago
Bertrand Paquet
bb29f43741
Coding style improvment
13 years ago
James McLaughlin
8ee3b0dc93
Make size_t and ssize_t Windows typedefs more appropriate
13 years ago
Bertrand Paquet
e42aa93b52
Add tests
13 years ago
Bertrand Paquet
f6f761596e
Small refactoring, add edge cases
13 years ago
Bertrand Paquet
fe31fe8bf0
Add tests on user info
13 years ago
Bertrand Paquet
7965096276
User info implementation
13 years ago
Bertrand Paquet
ed8475d49f
Refactor host parsing to allow basic auth management
13 years ago
Bertrand Paquet
624a4b44a9
Add url_parser tool
13 years ago
Bertrand Paquet
9dfaa67f2b
Check host on url with hostname:port
13 years ago
Martell Malone
9852e5d048
test: %zu to %lu for msvcrt fixes for Mingw64
13 years ago
Peter Griess
2ec48fd65d
Merge pull request #111 from ErikDubbelboer/master
...
Ignore output of package build
13 years ago
Erik Dubbelboer
4d7b5dcb9a
ignore output of package build
13 years ago
Erik Dubbelboer
4c1e785a04
Merge branch 'master', remote-tracking branch 'upstream/master'
13 years ago
Peter Griess
26f508a289
Merge pull request #110 from ErikDubbelboer/master
...
Ignoring .so files
13 years ago
Erik Dubbelboer
0067f54dbe
Ignoring .so files
13 years ago
Ben Noordhuis
b97fdb0513
Don't assert() on whitespace in URL.
...
Be lenient about tabs and form feeds in non-strict mode.
13 years ago
Simon
905e959130
Correct misspelling in http_parser.h
13 years ago