Log

net/http/server.lua @ 13270:14bbfb2cc8dd default tip

description author age
net.http.server: Fix typo in previous commit Kim Alvefur Sat, 23 Sep 2023 15:48:21 +0200
net.http.server: Support setting Content-Type of uncaught HTTP errors Kim Alvefur Fri, 22 Sep 2023 01:47:21 +0200
net.http.server: Return request ID in header to aid debugging Kim Alvefur Mon, 29 May 2023 01:42:31 +0200
net.http.server: Remove "Firing event" logs, use event logging instead Kim Alvefur Sun, 14 May 2023 18:48:20 +0200
net.http.server: Log request and response status lines Kim Alvefur Sun, 14 May 2023 18:44:38 +0200
net.http.server: Assign each request its own log source Kim Alvefur Sun, 14 May 2023 18:44:11 +0200
net.http.server: Assign an ID to each request, shared with response Kim Alvefur Sun, 14 May 2023 18:38:22 +0200
net: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:12 +0100
Merge 0.12->trunk Matthew Wild Thu, 16 Feb 2023 16:00:07 +0000
net.http.server: Add new API to get HTTP request from a connection 0.12 Matthew Wild Thu, 16 Feb 2023 15:59:26 +0000
net.http.server: Close file handle earlier Kim Alvefur Sun, 08 Jan 2023 13:51:30 +0100
net.http.server: Fix #1789 0.12 Kim Alvefur Sun, 08 Jan 2023 13:35:04 +0100
net.http.server: Split out method for sending only the header Kim Alvefur Sat, 24 Apr 2021 10:50:24 +0200
net.http.server: Set request.ip so mod_http doesn't have to Kim Alvefur Sat, 27 Feb 2021 21:37:16 +0100
net.http.server: Don't pause early streaming uploads Kim Alvefur Sat, 13 Feb 2021 13:38:56 +0100
net.http.server: Allow storing more than the parser in the session Kim Alvefur Fri, 12 Feb 2021 14:47:27 +0100
net.http.server: Enable async during HTTP request handling (fixes #1487) Kim Alvefur Sun, 12 Jul 2020 20:31:31 +0200
Merge 0.11->trunk Matthew Wild Tue, 13 Oct 2020 11:59:40 +0100
net.http.server: Don't send Content-Length on 1xx/204 responses, per RFC (fixes #1596) 0.11 Matthew Wild Tue, 13 Oct 2020 11:55:28 +0100
net.http.server: Default to HTTP result code 500 when promise is rejected Matthew Wild Mon, 28 Sep 2020 16:21:41 +0100
Merge 0.11->trunk Kim Alvefur Tue, 23 Jun 2020 17:59:24 +0200
net.http.server: Fix reporting of missing Host header 0.11 Kim Alvefur Tue, 23 Jun 2020 15:43:57 +0200
net.http.server: Strip port from Host header in IPv6 friendly way (fix #1302) 0.11 Kim Alvefur Tue, 23 Jun 2020 15:39:31 +0200
net.http.server: Use error code from util.error (fixes #1502) Kim Alvefur Sun, 12 Apr 2020 22:57:14 +0200
util.error: Move default for numeric error code to net.http.server Kim Alvefur Sat, 14 Dec 2019 20:28:44 +0100
net.http.server: Treat promise rejection without value as a HTTP 500 error Kim Alvefur Tue, 05 Nov 2019 01:34:13 +0100
net.http.server: Handle promises from http handlers Kim Alvefur Fri, 01 Nov 2019 22:31:15 +0100
net.http.server: Handle util.error objects from http handlers Kim Alvefur Fri, 01 Nov 2019 22:30:35 +0100
net.http.server: Tail call because tail call! Kim Alvefur Fri, 01 Nov 2019 22:28:39 +0100
net.http.server: Factor out handling of event response for easier reuse Kim Alvefur Fri, 01 Nov 2019 22:25:54 +0100
net.http.server: Explicitly convert number to string, avoiding implicit coercion Kim Alvefur Sat, 12 Oct 2019 19:30:29 +0200
net.http.server: Re-fire unhandled HEAD requsts as GET events (fixes #1447) Kim Alvefur Sat, 12 Oct 2019 18:27:54 +0200
net.http.server: Ensure HEAD requests are sent with empty body Kim Alvefur Sat, 12 Oct 2019 18:27:02 +0200
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
net.http.server: Remove debug message Matthew Wild Tue, 24 Apr 2012 19:05:45 +0100
net.http.server: Support for wildcard events (events that end with '/*') Matthew Wild Mon, 23 Apr 2012 21:29:18 +0100
net.http.server: Fix legacy net.httpserver fallback (httpserver is no longer a global). Waqas Hussain Sun, 22 Apr 2012 23:44:21 +0500
net.http.server: Fire global HTTP event when no specific handlers available. Waqas Hussain Sat, 21 Apr 2012 17:38:01 +0500
net.http.server: Missing <title/> in 404 Not Found response. Waqas Hussain Sat, 21 Apr 2012 17:37:00 +0500
net.http.{server|codes|parser}: Initial commit. Waqas Hussain Sun, 08 Apr 2012 04:09:33 +0500