aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
Commit message (Expand)AuthorAgeFilesLines
* net: Prefix module imports with prosody namespaceKim Alvefur2023-03-174-17/+17
* Merge 0.12->trunkMatthew Wild2023-02-171-2/+3
|\
| * net.http.parser: Fix off-by-one error in chunk parserMatthew Wild2023-02-171-2/+3
* | Merge 0.12->trunkMatthew Wild2023-02-161-0/+4
|\|
| * net.http.server: Add new API to get HTTP request from a connectionMatthew Wild2023-02-161-0/+4
* | Merge 0.12->trunkMatthew Wild2023-02-091-6/+11
|\|
| * net.http.parser: Improve handling of responses without content-lengthMatthew Wild2023-02-091-6/+11
* | net.http.server: Close file handle earlierKim Alvefur2023-01-081-1/+1
* | Merge 0.12->trunkKim Alvefur2023-01-081-1/+1
|\|
| * net.http.server: Fix #1789Kim Alvefur2023-01-081-1/+1
* | net.http.codes: Refresh from registry, many refs now point to RFC9110Kim Alvefur2022-06-131-46/+46
|/
* Fix various spelling errors (thanks codespell)Kim Alvefur2021-07-271-1/+1
* net.http.server: Split out method for sending only the headerKim Alvefur2021-04-241-2/+7
* net.http.server: Set request.ip so mod_http doesn't have toKim Alvefur2021-02-271-0/+2
* net.http.server: Don't pause early streaming uploadsKim Alvefur2021-02-131-1/+10
* net.http.server: Allow storing more than the parser in the sessionKim Alvefur2021-02-121-10/+11
* net.http.server: Enable async during HTTP request handling (fixes #1487)Kim Alvefur2020-07-121-28/+23
* net.http.errors: Add error class for DNS resolution failures (thanks SouL)Matthew Wild2020-12-111-0/+4
* net.http.parser: Expose 'partial', 'chunked' and 'body_length' on packetsMatthew Wild2020-10-211-2/+15
* Merge 0.11->trunkMatthew Wild2020-10-131-1/+4
|\
| * net.http.server: Don't send Content-Length on 1xx/204 responses, per RFC (fix...Matthew Wild2020-10-131-1/+4
* | net.http.server: Default to HTTP result code 500 when promise is rejectedMatthew Wild2020-09-281-0/+1
* | net.http.parser: Fix indentationKim Alvefur2020-08-201-2/+2
* | net.http.errors: Add new module for converting net.http errors to util.error ...Matthew Wild2020-08-131-0/+115
* | net.http.parser: Allow specifying sink for large request bodiesKim Alvefur2020-08-011-4/+22
* | net.http.parser: Switch to util.dbuffer for buffering incoming dataKim Alvefur2020-08-011-61/+49
* | Merge 0.11->trunkKim Alvefur2020-06-231-1/+2
|\|
| * net.http.server: Fix reporting of missing Host headerKim Alvefur2020-06-231-1/+2
| * net.http.server: Strip port from Host header in IPv6 friendly way (fix #1302)Kim Alvefur2020-06-231-1/+1
* | Merge 0.11->trunkKim Alvefur2020-04-261-1/+1
|\|
* | net.http.server: Use error code from util.error (fixes #1502)Kim Alvefur2020-04-121-0/+1
* | net.http.parser: Add TODO related to #726Kim Alvefur2020-01-011-0/+1
* | net.http.parser: Silence warning about unused variable [luacheck]Kim Alvefur2019-12-231-1/+2
* | util.error: Move default for numeric error code to net.http.serverKim Alvefur2019-12-141-1/+1
* | net.http.server: Treat promise rejection without value as a HTTP 500 errorKim Alvefur2019-11-051-1/+1
* | net.http.server: Handle promises from http handlersKim Alvefur2019-11-011-0/+8
* | net.http.server: Handle util.error objects from http handlersKim Alvefur2019-11-011-0/+3
* | net.http.server: Tail call because tail call!Kim Alvefur2019-11-011-1/+1
* | net.http.server: Factor out handling of event response for easier reuseKim Alvefur2019-11-011-31/+34
* | net.http.codes: Avoid implicit number -> string coercionKim Alvefur2019-11-011-1/+1
* | net.http.files: Explicitly convert number to string, avoiding implicit coercionKim Alvefur2019-10-121-1/+1
* | net.http.server: Explicitly convert number to string, avoiding implicit coercionKim Alvefur2019-10-121-1/+1
* | net.http.server: Re-fire unhandled HEAD requsts as GET events (fixes #1447)Kim Alvefur2019-10-121-0/+11
* | net.http.server: Ensure HEAD requests are sent with empty bodyKim Alvefur2019-10-121-0/+16
* | net.http.files: Fix cache handlingKim Alvefur2019-06-291-1/+1
* | net.http.files: Bump cache hits so they stay cachedKim Alvefur2019-05-041-0/+1
* | net.http.files: Make into standalone libraryKim Alvefur2019-04-051-64/+14
* | net.http.files: Copy of mod_http_filesKim Alvefur2019-04-051-0/+198
|/
* net.http.server: Move event formation to avoid traceback on missing Host headerMatthew Wild2018-11-131-1/+1
* Many things: switch from hacky multi-arg xpcall implementations to a standard...Matthew Wild2018-10-261-6/+2