Commit Graph

42 Commits (ea2f97e9ed8317dc9a62e45d9a807dca7e3700a5)

Author SHA1 Message Date
Kim Alvefur 674b91b82b net.http.parser: Reject overlarge header section earlier 2 years ago
Matthew Wild 87ee5a2300 net.http.parser: Fix off-by-one error in chunk parser 3 years ago
Matthew Wild 0fd88a07a4 net.http.parser: Improve handling of responses without content-length 3 years ago
Kim Alvefur 869581384d net: Prefix module imports with prosody namespace 3 years ago
Kim Alvefur c506269ff5 Fix various spelling errors (thanks codespell) 4 years ago
Matthew Wild bc402b6409 net.http.parser: Expose 'partial', 'chunked' and 'body_length' on packets 5 years ago
Kim Alvefur 031a8d8e64 net.http.parser: Fix indentation 5 years ago
Kim Alvefur 91d2ab9108 net.http.parser: Allow specifying sink for large request bodies 5 years ago
Kim Alvefur 64aa6a2a0e net.http.parser: Switch to util.dbuffer for buffering incoming data 5 years ago
Kim Alvefur 48bb417812 net.http.parser: Add TODO related to #726 6 years ago
Kim Alvefur 248ec3f834 net.http.parser: Silence warning about unused variable [luacheck] 6 years ago
Kim Alvefur 3e7bffe8c8 net.http: Pass error all the way to callback 9 years ago
Kim Alvefur a206b98c0e net.http.parser: Don't collapse buffer when expecting a chunk and not enough data has been received 9 years ago
Kim Alvefur ed2b537cbd net.http.parser: Fix missing buffer length adjustment when parsing chunked streams 9 years ago
Kim Alvefur 4fe3ec81e1 net.http.parser: Allow limits to be configurable via options callback 10 years ago
Kim Alvefur bdae29d754 net.http.parser: Add a limit on maximum buffer size, default to 20M 10 years ago
Kim Alvefur b50763dcf6 net.http.parser: Add a limit on content length, default to 10M 10 years ago
Kim Alvefur 47ed467f4f net.http.parser: Buffer into a table to reduce GC pressure, collapse to string when needed (fixes #603) 10 years ago
Kim Alvefur 0468aa76f1 net.http.parser: Remove unused argument [luacheck] 10 years ago
Matthew Wild a5f74207fd net.http.parser: Fix whitespace/indentation 11 years ago
daurnimator d13b001832 net.http.parser: Fix chunked encoding parsing across packet boundaries. 11 years ago
Matthew Wild 43bc05285d net.http.parser: Support status code 101 and allow handling of the received data by someone else 11 years ago
Matthew Wild 427b82db0f net.http.parser: Remove accidentally-committed debugging 13 years ago
Matthew Wild 91b727be71 net.http.parser: Fix off-by-one error in chunked encoding parser 13 years ago
Matthew Wild fec86f72cf net.http.parser: Fix chunked encoding response parsing, and make it more robust 13 years ago
Matthew Wild 1ebc90c25b net.http.parser: Convert status_code to a number before trying to compare it to numbers 13 years ago
Matthew Wild 70a407116f net.http.parser: Break when no more usable data in buffer (client part of e5ec60dfb202) 13 years ago
Matthew Wild 2f31951668 net.http.parser: Depend on util.http instead of net.http for urlencode 13 years ago
Waqas Hussain 42c8d5bd24 net.http.parser: Ensure full URL in status line contains a path. 13 years ago
Waqas Hussain 4337cb5267 net.http.parser: Fix traceback on invalid URL in status line. 13 years ago
Kim Alvefur a6731c13d1 net.http.parser: Abort if no status line is received. 13 years ago
Waqas Hussain 42907ced08 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 8714ad93a8 net.http.parser: Fix syntax error introduced in c5edb08fc7cb. 13 years ago
Matthew Wild 89d1d6cccf net.http.parser: Collapse multiple consecutive slashes in a path to a single slash 13 years ago
Matthew Wild 1d00578154 net.http.parser: Break loop when no more usable data in buffer 14 years ago
Kim Alvefur 2a56213eeb net.http.parser: Keep the Host header no host is present in the URI 14 years ago
Matthew Wild 6206f46784 net.http.parser: Do full URL decoding and parsing (e.g. adds request.url.query when present) 14 years ago
Matthew Wild 7c5c2aea2c mod_http_files, net.http.parser: Move path normalization to net.http.parser so that all modules can benefit 14 years ago
Waqas Hussain b0b093e726 net.http.parser: Handle full URLs in status line. 14 years ago
Waqas Hussain 06f2b0f3a4 net.http.{server|codes|parser}: Initial commit. 14 years ago