Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.12->trunk | Kim Alvefur | 2023-12-01 | 1 | -1/+7 |
|\ | |||||
| * | net.http.parser: Reject overlarge header section earlier | Kim Alvefur | 2023-08-23 | 1 | -1/+7 |
| | | | | | | | | This case would eventually be rejected by the buffer size limit. | ||||
* | | net: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-17 | 1 | -2/+2 |
|/ | |||||
* | net.http.parser: Fix off-by-one error in chunk parser | Matthew Wild | 2023-02-17 | 1 | -2/+3 |
| | |||||
* | net.http.parser: Improve handling of responses without content-length | Matthew Wild | 2023-02-09 | 1 | -6/+11 |
| | | | | | | This ensures that we support responses without a content-length header, and allow streaming them through the streaming handler interface. An example of such a response would be Server-Sent Events streams. | ||||
* | Fix various spelling errors (thanks codespell) | Kim Alvefur | 2021-07-27 | 1 | -1/+1 |
| | | | | | Also special thanks to timeless, for wordlessly reminding me to check for typos. | ||||
* | net.http.parser: Expose 'partial', 'chunked' and 'body_length' on packets | Matthew Wild | 2020-10-21 | 1 | -2/+15 |
| | |||||
* | net.http.parser: Fix indentation | Kim Alvefur | 2020-08-20 | 1 | -2/+2 |
| | | | | | Probably due to a rebase/merge with a merge tool that ignores whitespace. Happens all the time to me :( | ||||
* | net.http.parser: Allow specifying sink for large request bodies | Kim Alvefur | 2020-08-01 | 1 | -4/+22 |
| | | | | | | | This enables uses such as saving uploaded files directly to a file on disk or streaming parsing of payloads. See #726 | ||||
* | net.http.parser: Switch to util.dbuffer for buffering incoming data | Kim Alvefur | 2020-08-01 | 1 | -61/+49 |
| | | | | | | This is primarily a step towards saving uploads directly to files, tho this should hopefully be more efficient than collapsing the entire buffer to a single string every now and then. | ||||
* | net.http.parser: Add TODO related to #726 | Kim Alvefur | 2020-01-01 | 1 | -0/+1 |
| | |||||
* | net.http.parser: Silence warning about unused variable [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -1/+2 |
| | |||||
* | net.http: Pass error all the way to callback | Kim Alvefur | 2017-04-02 | 1 | -1/+1 |
| | |||||
* | net.http.parser: Don't collapse buffer when expecting a chunk and not enough ↵ | Kim Alvefur | 2016-08-26 | 1 | -0/+3 |
| | | | | data has been received | ||||
* | net.http.parser: Fix missing buffer length adjustment when parsing chunked ↵ | Kim Alvefur | 2016-08-26 | 1 | -0/+1 |
| | | | | streams | ||||
* | Merge 0.9->0.10 | Kim Alvefur | 2016-08-18 | 1 | -7/+26 |
|\ | |||||
| * | net.http.parser: Allow limits to be configurable via options callback | Kim Alvefur | 2016-08-18 | 1 | -2/+2 |
| | | |||||
| * | net.http.parser: Add a limit on maximum buffer size, default to 20M | Kim Alvefur | 2016-08-18 | 1 | -0/+2 |
| | | |||||
| * | net.http.parser: Add a limit on content length, default to 10M | Kim Alvefur | 2016-08-18 | 1 | -0/+2 |
| | | |||||
| * | net.http.parser: Buffer into a table to reduce GC pressure, collapse to ↵ | Kim Alvefur | 2016-08-13 | 1 | -7/+22 |
| | | | | | | | | string when needed (fixes #603) | ||||
* | | net.http.parser: Remove unused argument [luacheck] | Kim Alvefur | 2016-08-13 | 1 | -1/+1 |
|/ | |||||
* | net.http.parser: Fix whitespace/indentation | Matthew Wild | 2014-11-18 | 1 | -5/+5 |
| | |||||
* | net.http.parser: Fix chunked encoding parsing across packet boundaries. | daurnimator | 2014-11-10 | 1 | -1/+1 |
| | |||||
* | net.http.parser: Support status code 101 and allow handling of the received ↵ | Matthew Wild | 2014-09-03 | 1 | -1/+5 |
| | | | | data by someone else | ||||
* | net.http.parser: Remove accidentally-committed debugging | Matthew Wild | 2013-04-15 | 1 | -1/+0 |
| | |||||
* | net.http.parser: Fix off-by-one error in chunked encoding parser | Matthew Wild | 2013-04-15 | 1 | -1/+2 |
| | |||||
* | net.http.parser: Fix chunked encoding response parsing, and make it more robust | Matthew Wild | 2013-04-11 | 1 | -15/+20 |
| | |||||
* | net.http.parser: Convert status_code to a number before trying to compare it ↵ | Matthew Wild | 2013-04-11 | 1 | -0/+1 |
| | | | | to numbers | ||||
* | net.http.parser: Break when no more usable data in buffer (client part of ↵ | Matthew Wild | 2013-04-11 | 1 | -0/+2 |
| | | | | e5ec60dfb202) | ||||
* | net.http.parser: Depend on util.http instead of net.http for urlencode | Matthew Wild | 2013-04-11 | 1 | -1/+1 |
| | |||||
* | net.http.parser: Ensure full URL in status line contains a path. | Waqas Hussain | 2013-02-08 | 1 | -1/+1 |
| | |||||
* | net.http.parser: Fix traceback on invalid URL in status line. | Waqas Hussain | 2013-02-08 | 1 | -0/+1 |
| | |||||
* | net.http.parser: Abort if no status line is received. | Kim Alvefur | 2013-01-08 | 1 | -0/+1 |
| | |||||
* | net.http.parser: Skip url.parse when we don't have a full URL (also fixes ↵ | Waqas Hussain | 2012-12-21 | 1 | -1/+8 |
| | | | | traceback on paths starting with '//'). | ||||
* | net.http.parser: Fix syntax error introduced in c5edb08fc7cb. | Waqas Hussain | 2012-12-03 | 1 | -1/+1 |
| | |||||
* | net.http.parser: Collapse multiple consecutive slashes in a path to a single ↵ | Matthew Wild | 2012-11-29 | 1 | -1/+1 |
| | | | | slash | ||||
* | net.http.parser: Break loop when no more usable data in buffer | Matthew Wild | 2012-05-25 | 1 | -0/+2 |
| | |||||
* | net.http.parser: Keep the Host header no host is present in the URI | Kim Alvefur | 2012-05-15 | 1 | -1/+1 |
| | |||||
* | net.http.parser: Do full URL decoding and parsing (e.g. adds ↵ | Matthew Wild | 2012-05-12 | 1 | -5/+7 |
| | | | | request.url.query when present) | ||||
* | mod_http_files, net.http.parser: Move path normalization to net.http.parser ↵ | Matthew Wild | 2012-04-26 | 1 | -1/+19 |
| | | | | so that all modules can benefit | ||||
* | net.http.parser: Handle full URLs in status line. | Waqas Hussain | 2012-04-26 | 1 | -1/+6 |
| | |||||
* | net.http.{server|codes|parser}: Initial commit. | Waqas Hussain | 2012-04-08 | 1 | -0/+116 |