aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/server.lua
Commit message (Expand)AuthorAgeFilesLines
* util.error: Use is_error() instead of is_err() everywhereKim Alvefur2024-10-291-1/+1
* net.http.server: Fix whitespace-ignoring syntaxKim Alvefur2023-12-011-2/+2
* net.http.server: Complete async waiter for non-persistent connectionsKim Alvefur2023-11-241-3/+2
* net.http.server: Fix typo in previous commitKim Alvefur2023-09-231-1/+1
* net.http.server: Support setting Content-Type of uncaught HTTP errorsKim Alvefur2023-09-221-1/+6
* net.http.server: Return request ID in header to aid debuggingKim Alvefur2023-05-291-1/+1
* net.http.server: Remove "Firing event" logs, use event logging insteadKim Alvefur2023-05-141-4/+0
* net.http.server: Log request and response status linesKim Alvefur2023-05-141-0/+3
* net.http.server: Assign each request its own log sourceKim Alvefur2023-05-141-5/+8
* net.http.server: Assign an ID to each request, shared with responseKim Alvefur2023-05-141-0/+3
* net: Prefix module imports with prosody namespaceKim Alvefur2023-03-171-9/+9
* 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
* | net.http.server: Close file handle earlierKim Alvefur2023-01-081-1/+1
|/
* net.http.server: Fix #1789Kim Alvefur2023-01-081-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
* 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
* | 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
* | net.http.server: Use error code from util.error (fixes #1502)Kim Alvefur2020-04-121-0/+1
* | 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.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.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
* net.http.server: Delay host checks until after host-less eventKim Alvefur2018-09-231-9/+18
* net.http.server: Fire an event without hostKim Alvefur2018-09-211-3/+8
* Revert 2dc7490899ae::5d6b252bc36f: Unfinished and brokenKim Alvefur2018-09-211-2/+2
* net.http.server: Fix default host logicKim Alvefur2018-09-211-1/+1
* net.http.server: Move handling of hosts to mod_httpKim Alvefur2018-09-211-1/+1
* net.http.server: Include response object in most http-error eventsKim Alvefur2017-10-271-3/+5
* net.http.server: Add luacheck annotationsKim Alvefur2016-08-181-2/+2
* Merge 0.9->0.10Kim Alvefur2016-08-181-1/+8
|\
| * net.http.server: Expose way to set http server optionsKim Alvefur2016-08-181-1/+8
* | net.http.server: Set blocksize for serving data from FDs to 64k (sweet spot o...Kim Alvefur2016-08-081-1/+1
* | net.http.server: Add response method for reading response body from a file ha...Kim Alvefur2016-07-111-0/+42
* | net.http.server: Return from listen_on() whatever net.server.addserver() returnsKim Alvefur2016-01-161-1/+1