Commit Graph

11 Commits (528c449901a685e74f31eca9f35a84982eeae048)

Author SHA1 Message Date
Ryan Dahl 7719ce33db New http-parser
No longer based on Ragel, but hand-written.

Had to add HTTPConnection.resetParser() because the parser is stricter and
will error out when you try to give it a message after the previous had
"Connection: close". The HTTP client was doing that. Thus we reset the
parser manually after each new connection.
2009-11-21 16:27:02 +01:00
Ryan Dahl 51c1526b6a Revert "Upgrade http parser, change node as needed."
Something is broken in how keep-alive is working. Reverting until I can fix
it.

This reverts commit b893859c34.
2009-11-06 12:44:20 +01:00
Ryan Dahl b893859c34 Upgrade http parser, change node as needed.
The latest version of http-parser is a bit more stringent EOF semantics.
2009-10-15 19:18:18 +02:00
Ryan Dahl 0283e68129 Upgrade http_parser, allows quotes in URI
http_parser needs to be upgraded to latest code. Currently running off the
v0.2 branch, which is missing the latest fixes.
2009-10-14 19:29:17 +02:00
Ryan Dahl 13793aed20 Add Makefiles which were forgotten. 2009-10-03 22:48:44 +02:00
Ryan d8226af7f5 Upgrade http_parser to v0.2 2009-08-07 18:25:25 +02:00
Ryan 116069fab3 upgrade http_parser 2009-07-14 00:00:07 +02:00
Ryan fd83e1d7d8 Upgrade http parser 2009-06-12 17:27:44 +02:00
Ryan 4624906e2a upgrade http_parser 2009-06-10 18:56:37 +02:00
Ryan 4bd63d35fb Upgrade http_parser - protects against buffer overflows now 2009-06-09 15:18:12 +02:00
Ryan 5a071ad72f Begin refactor of http.cc. Remove libebb add http_parser.
And most of http.cc was deleted.
2009-05-03 14:09:16 +02:00