aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/server.lua
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.9->0.10Kim Alvefur2014-09-021-0/+4
|\
| * net.http, net.http.server, mod_c2s, mod_s2s, mod_component, ↵Matthew Wild2014-08-291-0/+4
| | | | | | | | mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent)
* | 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
| | | | | | | | chunked responses via the API
* | 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 ↵Matthew Wild2013-04-221-2/+2
| | | | traceback function), to make it clearer where an error occured
* net.server.http: Add a commentMatthew Wild2013-04-221-0/+1
|
* net.server.http: Ensure that event map cannot grow forever (limit to 10K ↵Matthew Wild2013-04-221-0/+8
| | | | wildcard-only entries)
* net.http.server: The correct Connection header value to look for is ↵Waqas Hussain2013-04-171-1/+1
| | | | Keep-Alive, not keep-alive.
* 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 ↵Matthew Wild2013-03-311-1/+7
| | | | response object from a HTTP handler (waqas says it's wrong)
* net.http.server: Ensure HTTP callbacks are never called recursively for ↵Waqas Hussain2013-02-261-9/+10
| | | | pipelined requests.
* net.http.server: Properly handle persistent connectionsFlorian Zeitz2013-01-121-3/+14
|
* net.http.server: Code cleanup/adjustment now that send_response() accepts ↵Matthew Wild2012-04-281-3/+1
| | | | response.body
* net.http.server: Use response.body if it exists and body is not specified to ↵Matthew Wild2012-04-281-1/+1
| | | | send_response
* net.http.server: Remove unused imports and variables (fixes traceback due to ↵Matthew Wild2012-04-281-4/+2
| | | | removed net.httpserver)
* net.http.server: Try default_host if client sent no host anywhere, ↵Matthew Wild2012-04-281-4/+4
| | | | otherwise... fail. It's 2012.
* net.http.server: Fix traceback on missing host header (thanks darkrain)Matthew Wild2012-04-281-2/+1
|
* net.http.server, mod_http: Support http_default_host config option to ↵Matthew Wild2012-04-271-41/+56
| | | | specify where to direct requests for unknown HTTP vhosts
* net.http.server: Improve commentMatthew Wild2012-04-271-1/+1
|
* net.http.server: Remove unused variableMatthew Wild2012-04-271-1/+0
|
* net.http.server: Correctly cache results of handler indexing, and also cache ↵Matthew Wild2012-04-271-10/+14
| | | | failures
* Merge with backoutMatthew Wild2012-04-261-4/+0
|\
| * Revert 98bfebb38705, moved to net.http.parser in 4fc99f1b7570Matthew Wild2012-04-261-4/+0
| |
* | net.http.server: Fire http-error 400 if request fails sanity checksMatthew Wild2012-04-261-1/+8
| |
* | net.http.server: Make error handling overrideable via 'http-error' eventMatthew Wild2012-04-261-4/+12
|/
* net.server.http: Parse absolute URIs in requests (thanks Maranda)Matthew Wild2012-04-261-0/+4
|
* net.http.server: Expose events object (for debug purposes)Matthew Wild2012-04-261-0/+1
|
* net.http.server: Lower score of wildcard handlers to ensure specific ↵Matthew Wild2012-04-261-1/+1
| | | | handlers beat them
* net.http.server: Fix to compare priority if path lengths are the same (logic ↵Matthew Wild2012-04-261-1/+1
| | | | fail)
* net.http.server: Support for on_destroy callback on response objects, and a ↵Matthew Wild2012-04-251-0/+14
| | | | 'finished' flag to say when they are destroyed (responded to or connection closed)
* net.http.server: Small fix to commentMatthew Wild2012-04-251-1/+1
|
* net.http.server: Remove legacy compatibilityMatthew Wild2012-04-251-57/+4
|
* net.http.server: Handle results returned by handlers, and send as a ↵Matthew Wild2012-04-241-12/+20
| | | | response. Also removes explicit firing of '*', which can now be done via wildcard events.
* net.http.server: Remove debug messageMatthew Wild2012-04-241-1/+0
|
* net.http.server: Support for wildcard events (events that end with '/*')Matthew Wild2012-04-231-0/+51
|
* net.http.server: Fix legacy net.httpserver fallback (httpserver is no longer ↵Waqas Hussain2012-04-221-2/+3
| | | | a global).
* net.http.server: Fire global HTTP event when no specific handlers available.Waqas Hussain2012-04-211-0/+1
|
* net.http.server: Missing <title/> in 404 Not Found response.Waqas Hussain2012-04-211-1/+1
|
* net.http.{server|codes|parser}: Initial commit.Waqas Hussain2012-04-081-0/+223