Log

net/http/server.lua @ 10200:48ee50ed9972

description author age
net.http.server: Move event formation to avoid traceback on missing Host header 0.11 Matthew Wild Tue, 13 Nov 2018 15:03:24 +0000
Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall Matthew Wild Fri, 26 Oct 2018 19:32:00 +0100
net.http.server: Delay host checks until after host-less event Kim Alvefur Sun, 23 Sep 2018 18:59:04 +0200
net.http.server: Fire an event without host Kim Alvefur Fri, 21 Sep 2018 23:40:17 +0200
Revert 2dc7490899ae::5d6b252bc36f: Unfinished and broken Kim Alvefur Fri, 21 Sep 2018 22:14:40 +0200
net.http.server: Fix default host logic Kim Alvefur Fri, 21 Sep 2018 21:33:41 +0200
net.http.server: Move handling of hosts to mod_http Kim Alvefur Fri, 21 Sep 2018 21:19:41 +0200
net.http.server: Include response object in most http-error events Kim Alvefur Fri, 27 Oct 2017 14:08:28 +0200
net.http.server: Add luacheck annotations Kim Alvefur Thu, 18 Aug 2016 15:21:30 +0200
Merge 0.9->0.10 Kim Alvefur Thu, 18 Aug 2016 15:16:02 +0200
net.http.server: Expose way to set http server options Kim Alvefur Thu, 18 Aug 2016 14:50:39 +0200
net.http.server: Set blocksize for serving data from FDs to 64k (sweet spot of efficiency according to a recent study) Kim Alvefur Mon, 08 Aug 2016 16:07:46 +0200
net.http.server: Add response method for reading response body from a file handle Kim Alvefur Mon, 11 Jul 2016 11:52:43 +0200
net.http.server: Return from listen_on() whatever net.server.addserver() returns Kim Alvefur Sat, 16 Jan 2016 22:43:11 +0100
net.http.server: Import util.cache Matthew Wild Thu, 03 Dec 2015 16:12:44 +0000
net.http.server: Use new util.cache to remember wildcard event handlers Matthew Wild Thu, 03 Dec 2015 14:54:29 +0000
Merge with merge merge merge Matthew Wild Fri, 27 Mar 2015 22:19:44 +0000
Merge 0.9->0.10 (third time lucky) Matthew Wild Fri, 27 Mar 2015 22:11:58 +0000
Merge with merge Kim Alvefur Fri, 27 Mar 2015 00:28:16 +0100
Merge 0.9->0.10 again Kim Alvefur Fri, 27 Mar 2015 00:27:29 +0100
Merge 0.9->0.10 Matthew Wild Thu, 26 Mar 2015 16:48:39 +0000
net.http.server: Log event name when firing a request event Matthew Wild Sat, 14 Mar 2015 22:39:03 +0000
net.http.server: Log names of the events fired Kim Alvefur Mon, 08 Dec 2014 15:48:36 +0100
Merge 0.9->0.10 Kim Alvefur Tue, 02 Sep 2014 22:33:11 +0200
net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent) Matthew Wild Fri, 29 Aug 2014 11:54:34 +0100
Merge 0.9->0.10 Matthew Wild Thu, 28 Aug 2014 09:23:24 +0100
net.http.server: Comment out a log message Kim Alvefur Wed, 27 Aug 2014 10:44:45 +0200
net.http.server: Fix some typos introduced in 420c0d3b8583. Daurnimator Tue, 15 Apr 2014 14:51:49 -0400
net.http.server: Add prepare_header() and finish_response() to allow sending chunked responses via the API Daurnimator Tue, 15 Apr 2014 18:07:45 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
net.http.server: Fix Keep-Alive requests with HTTP 1.0 Kim Alvefur Mon, 22 Jul 2013 17:28:37 +0200
mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit traceback function), to make it clearer where an error occured Matthew Wild Mon, 22 Apr 2013 12:35:52 +0100
net.server.http: Add a comment Matthew Wild Mon, 22 Apr 2013 12:25:00 +0100
net.server.http: Ensure that event map cannot grow forever (limit to 10K wildcard-only entries) Matthew Wild Mon, 22 Apr 2013 12:24:42 +0100
net.http.server: The correct Connection header value to look for is Keep-Alive, not keep-alive. Waqas Hussain Wed, 17 Apr 2013 15:28:20 -0400
net.http.server: add API to allow firing events directly on the server. Marco Cirillo Sun, 07 Apr 2013 12:23:29 +0000
net.http.server: Don't overwrite existing response.headers when returning a response object from a HTTP handler (waqas says it's wrong) Matthew Wild Sun, 31 Mar 2013 13:45:04 +0100
net.http.server: Ensure HTTP callbacks are never called recursively for pipelined requests. Waqas Hussain Tue, 26 Feb 2013 19:41:52 +0500
net.http.server: Properly handle persistent connections Florian Zeitz Sat, 12 Jan 2013 17:26:50 +0100
net.http.server: Code cleanup/adjustment now that send_response() accepts response.body Matthew Wild Sat, 28 Apr 2012 19:36:57 +0100
net.http.server: Use response.body if it exists and body is not specified to send_response Matthew Wild Sat, 28 Apr 2012 19:36:09 +0100
net.http.server: Remove unused imports and variables (fixes traceback due to removed net.httpserver) Matthew Wild Sat, 28 Apr 2012 14:27:48 +0100
net.http.server: Try default_host if client sent no host anywhere, otherwise... fail. It's 2012. Matthew Wild Sat, 28 Apr 2012 01:13:49 +0100
net.http.server: Fix traceback on missing host header (thanks darkrain) Matthew Wild Sat, 28 Apr 2012 00:51:36 +0100
net.http.server, mod_http: Support http_default_host config option to specify where to direct requests for unknown HTTP vhosts Matthew Wild Fri, 27 Apr 2012 23:11:23 +0100
net.http.server: Improve comment Matthew Wild Fri, 27 Apr 2012 22:37:56 +0100
net.http.server: Remove unused variable Matthew Wild Fri, 27 Apr 2012 20:01:21 +0100
net.http.server: Correctly cache results of handler indexing, and also cache failures Matthew Wild Fri, 27 Apr 2012 20:00:06 +0100
Merge with backout Matthew Wild Thu, 26 Apr 2012 16:25:17 +0100
Revert 98bfebb38705, moved to net.http.parser in 4fc99f1b7570 Matthew Wild Thu, 26 Apr 2012 16:25:11 +0100
net.http.server: Fire http-error 400 if request fails sanity checks Matthew Wild Thu, 26 Apr 2012 16:11:08 +0100
net.http.server: Make error handling overrideable via 'http-error' event Matthew Wild Thu, 26 Apr 2012 15:14:19 +0100
net.server.http: Parse absolute URIs in requests (thanks Maranda) Matthew Wild Thu, 26 Apr 2012 15:05:05 +0100
net.http.server: Expose events object (for debug purposes) Matthew Wild Thu, 26 Apr 2012 06:58:57 +0100
net.http.server: Lower score of wildcard handlers to ensure specific handlers beat them Matthew Wild Thu, 26 Apr 2012 06:47:17 +0100
net.http.server: Fix to compare priority if path lengths are the same (logic fail) Matthew Wild Thu, 26 Apr 2012 04:24:43 +0100
net.http.server: Support for on_destroy callback on response objects, and a 'finished' flag to say when they are destroyed (responded to or connection closed) Matthew Wild Wed, 25 Apr 2012 23:08:33 +0100
net.http.server: Small fix to comment Matthew Wild Wed, 25 Apr 2012 15:02:27 +0100
net.http.server: Remove legacy compatibility Matthew Wild Wed, 25 Apr 2012 14:58:10 +0100
net.http.server: Handle results returned by handlers, and send as a response. Also removes explicit firing of '*', which can now be done via wildcard events. Matthew Wild Tue, 24 Apr 2012 19:07:12 +0100