aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/server.lua
Commit message (Expand)AuthorAgeFilesLines
* 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
* | net.http.server: Import util.cacheMatthew Wild2015-12-031-0/+1
* | net.http.server: Use new util.cache to remember wildcard event handlersMatthew Wild2015-12-031-5/+5
* | Merge 0.9->0.10 (third time lucky)Matthew Wild2015-03-271-1/+1
|\|
| * net.http.server: Log event name when firing a request eventMatthew Wild2015-03-141-1/+1
* | net.http.server: Log names of the events firedKim Alvefur2014-12-081-1/+1
* | Merge 0.9->0.10Kim Alvefur2014-09-021-0/+4
|\|
| * net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet,...Matthew Wild2014-08-291-0/+4
* | Merge 0.9->0.10Matthew Wild2014-08-281-1/+1
|\|
| * net.http.server: Comment out a log messageKim Alvefur2014-08-271-1/+1
* | net.http.server: Fix some typos introduced in 420c0d3b8583.Daurnimator2014-04-151-4/+3
* | net.http.server: Add prepare_header() and finish_response() to allow sending ...Daurnimator2014-04-151-9/+17
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-2/+2
|/
* net.http.server: Fix Keep-Alive requests with HTTP 1.0Kim Alvefur2013-07-221-1/+1
* mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit traceba...Matthew Wild2013-04-221-2/+2
* net.server.http: Add a commentMatthew Wild2013-04-221-0/+1
* net.server.http: Ensure that event map cannot grow forever (limit to 10K wild...Matthew Wild2013-04-221-0/+8
* net.http.server: The correct Connection header value to look for is Keep-Aliv...Waqas Hussain2013-04-171-1/+1
* net.http.server: add API to allow firing events directly on the server.Marco Cirillo2013-04-071-0/+3
* net.http.server: Don't overwrite existing response.headers when returning a r...Matthew Wild2013-03-311-1/+7
* net.http.server: Ensure HTTP callbacks are never called recursively for pipel...Waqas Hussain2013-02-261-9/+10
* net.http.server: Properly handle persistent connectionsFlorian Zeitz2013-01-121-3/+14
* net.http.server: Code cleanup/adjustment now that send_response() accepts res...Matthew Wild2012-04-281-3/+1
* net.http.server: Use response.body if it exists and body is not specified to ...Matthew Wild2012-04-281-1/+1
* net.http.server: Remove unused imports and variables (fixes traceback due to ...Matthew Wild2012-04-281-4/+2
* net.http.server: Try default_host if client sent no host anywhere, otherwise....Matthew Wild2012-04-281-4/+4
* net.http.server: Fix traceback on missing host header (thanks darkrain)Matthew Wild2012-04-281-2/+1