Commit Graph

30 Commits (bc3d454dd6f46292f08f4f724203de22a85800ca)

Author SHA1 Message Date
Kim Alvefur 3811ceb6ca net.http: Pass error all the way to callback 9 years ago
Kim Alvefur 5c1d761d86 net.http.parser: Don't collapse buffer when expecting a chunk and not enough data has been received 9 years ago
Kim Alvefur d51cb366d5 net.http.parser: Fix missing buffer length adjustment when parsing chunked streams 9 years ago
Kim Alvefur c3ed163682 net.http.parser: Allow limits to be configurable via options callback 10 years ago
Kim Alvefur 113551b7c8 net.http.parser: Add a limit on maximum buffer size, default to 20M 10 years ago
Kim Alvefur 3f97ca99c3 net.http.parser: Add a limit on content length, default to 10M 10 years ago
Kim Alvefur 6bfab345b9 net.http.parser: Buffer into a table to reduce GC pressure, collapse to string when needed (fixes #603) 10 years ago
Kim Alvefur d3a6c7549a net.http.parser: Remove unused argument [luacheck] 10 years ago
Matthew Wild a7d88ea233 net.http.parser: Fix whitespace/indentation 11 years ago
daurnimator 0643a6bde5 net.http.parser: Fix chunked encoding parsing across packet boundaries. 11 years ago
Matthew Wild 5035900778 net.http.parser: Support status code 101 and allow handling of the received data by someone else 12 years ago
Matthew Wild 0ff78f556e net.http.parser: Remove accidentally-committed debugging 13 years ago
Matthew Wild 992ed43b25 net.http.parser: Fix off-by-one error in chunked encoding parser 13 years ago
Matthew Wild 60d0189f57 net.http.parser: Fix chunked encoding response parsing, and make it more robust 13 years ago
Matthew Wild 56ef63ad8f net.http.parser: Convert status_code to a number before trying to compare it to numbers 13 years ago
Matthew Wild 31377853b7 net.http.parser: Break when no more usable data in buffer (client part of e5ec60dfb202) 13 years ago
Matthew Wild 07ca080e07 net.http.parser: Depend on util.http instead of net.http for urlencode 13 years ago
Waqas Hussain 49a6c24073 net.http.parser: Ensure full URL in status line contains a path. 13 years ago
Waqas Hussain 8e10516c29 net.http.parser: Fix traceback on invalid URL in status line. 13 years ago
Kim Alvefur 77651c4a6c net.http.parser: Abort if no status line is received. 13 years ago
Waqas Hussain 592242699a net.http.parser: Skip url.parse when we don't have a full URL (also fixes traceback on paths starting with '//'). 13 years ago
Waqas Hussain 21e1888c03 net.http.parser: Fix syntax error introduced in c5edb08fc7cb. 13 years ago
Matthew Wild 753581cc0d net.http.parser: Collapse multiple consecutive slashes in a path to a single slash 13 years ago
Matthew Wild 23c837319f net.http.parser: Break loop when no more usable data in buffer 14 years ago
Kim Alvefur 9eab3dfed9 net.http.parser: Keep the Host header no host is present in the URI 14 years ago
Matthew Wild 59d26a1851 net.http.parser: Do full URL decoding and parsing (e.g. adds request.url.query when present) 14 years ago
Matthew Wild e64c982be4 mod_http_files, net.http.parser: Move path normalization to net.http.parser so that all modules can benefit 14 years ago
Waqas Hussain 91393747a3 net.http.parser: Handle full URLs in status line. 14 years ago
Waqas Hussain d95a61cf4e net.http.{server|codes|parser}: Initial commit. 14 years ago