Commit graph

15 commits

Author SHA1 Message Date
Matthew Wild
1ebc90c25b net.http.parser: Convert status_code to a number before trying to compare it to numbers 2013-04-11 19:58:53 +01:00
Matthew Wild
70a407116f net.http.parser: Break when no more usable data in buffer (client part of e5ec60dfb202) 2013-04-11 17:39:10 +01:00
Matthew Wild
2f31951668 net.http.parser: Depend on util.http instead of net.http for urlencode 2013-04-11 17:37:37 +01:00
Waqas Hussain
42c8d5bd24 net.http.parser: Ensure full URL in status line contains a path. 2013-02-08 00:27:59 +05:00
Waqas Hussain
4337cb5267 net.http.parser: Fix traceback on invalid URL in status line. 2013-02-08 00:18:40 +05:00
Kim Alvefur
a6731c13d1 net.http.parser: Abort if no status line is received. 2013-01-08 13:33:01 +01:00
Waqas Hussain
42907ced08 net.http.parser: Skip url.parse when we don't have a full URL (also fixes traceback on paths starting with '//'). 2012-12-21 13:37:39 +05:00
Waqas Hussain
8714ad93a8 net.http.parser: Fix syntax error introduced in c5edb08fc7cb. 2012-12-03 10:01:06 +05:00
Matthew Wild
89d1d6cccf net.http.parser: Collapse multiple consecutive slashes in a path to a single slash 2012-11-29 07:38:00 +05:00
Matthew Wild
1d00578154 net.http.parser: Break loop when no more usable data in buffer 2012-05-25 02:32:33 +01:00
Kim Alvefur
2a56213eeb net.http.parser: Keep the Host header no host is present in the URI 2012-05-15 14:00:57 +02:00
Matthew Wild
6206f46784 net.http.parser: Do full URL decoding and parsing (e.g. adds request.url.query when present) 2012-05-12 03:09:52 +01:00
Matthew Wild
7c5c2aea2c mod_http_files, net.http.parser: Move path normalization to net.http.parser so that all modules can benefit 2012-04-26 16:48:16 +01:00
Waqas Hussain
b0b093e726 net.http.parser: Handle full URLs in status line. 2012-04-26 20:07:13 +05:00
Waqas Hussain
06f2b0f3a4 net.http.{server|codes|parser}: Initial commit. 2012-04-08 04:09:33 +05:00