Log

net/http.lua @ 9733:9ab9aabafa80

description author age
net.http: Manually merge settings (fixes #1231) 0.11 Kim Alvefur Fri, 09 Nov 2018 15:59:32 +0100
Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall Matthew Wild Fri, 26 Oct 2018 19:32:00 +0100
Merge 0.10->trunk Kim Alvefur Fri, 06 Apr 2018 01:43:44 +0200
net.http: Import setmetatable into local scope (fixes #1125) Kim Alvefur Fri, 06 Apr 2018 01:42:35 +0200
Merge 0.10 -> trunk Matthew Wild Wed, 04 Apr 2018 18:42:05 +0100
net.http: Fix parameter order to http request callbacks Matthew Wild Wed, 04 Apr 2018 18:27:44 +0100
net.http: Allow enabling/disabling error suppression, useful for tests Matthew Wild Sat, 24 Mar 2018 11:29:33 +0000
net.http: Fix for Lua 5.2: return error from error handler (xpcall changed) Matthew Wild Sat, 24 Mar 2018 11:29:04 +0000
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
net.http: Refactor to use new net.connect API, brings support for async DNS Matthew Wild Mon, 26 Feb 2018 15:27:00 +0000
net.http: Rename handler to conn, for consistency with all our other code Matthew Wild Fri, 23 Feb 2018 16:21:40 +0000
net.http: Remove use of 'conn' (raw socket object returned by addclient) Matthew Wild Fri, 23 Feb 2018 16:20:45 +0000
Merge 0.10->trunk Kim Alvefur Mon, 28 Aug 2017 21:05:12 +0200
net.http: Add option for disabling TLS certifictate validation Kim Alvefur Fri, 07 Jul 2017 21:04:46 +0200
net.http: Validate HTTPS certificates (fixes #659) Kim Alvefur Fri, 07 Jul 2017 21:04:30 +0200
net.http: Move default SSL/TLS settings into options, allowing them to be overriden in new() Kim Alvefur Fri, 07 Jul 2017 20:31:52 +0200
net.http: Expose defaults Kim Alvefur Fri, 07 Jul 2017 20:30:52 +0200
net.http: Remove duplicate 'request' entry Kim Alvefur Fri, 07 Jul 2017 20:16:00 +0200
Merge 0.10->trunk Kim Alvefur Mon, 24 Apr 2017 14:19:49 +0200
net.http: Add request.url, which is the original full URL as a string Matthew Wild Fri, 21 Apr 2017 16:42:25 +0100
net.http: Fire new events: pre-request, request-connection-error, request, response Matthew Wild Fri, 21 Apr 2017 16:42:06 +0100
net.http: Allow creation of http client objects, with custom options Matthew Wild Fri, 21 Apr 2017 16:41:27 +0100
Merge 0.10->trunk Kim Alvefur Sun, 02 Apr 2017 00:24:37 +0200
net.http: Pass error all the way to callback Kim Alvefur Sun, 02 Apr 2017 00:24:07 +0200
Merge 0.10->trunk Kim Alvefur Sun, 01 Jan 2017 19:35:06 +0100
net.http: Strip trailing whitespace Kim Alvefur Fri, 30 Dec 2016 18:25:36 +0100
net.http: Remove unused imports [luacheck] Kim Alvefur Fri, 30 Dec 2016 18:25:23 +0100
Merge 0.10 -> trunk Matthew Wild Wed, 27 Jul 2016 14:08:32 +0100
net.http: Add quotes around ids in log messages Matthew Wild Wed, 27 Jul 2016 13:40:45 +0100
Merge 0.10->trunk Matthew Wild Thu, 07 Jul 2016 23:12:25 +0100
net.http: Add log messages for requests, including their id (so "calling callback" and tracebacks can be traced back to their initial request) Matthew Wild Thu, 07 Jul 2016 23:08:47 +0100
net.http: Add request.id to every request object (can be overridden by providing ex.id) Matthew Wild Thu, 07 Jul 2016 23:07:19 +0100
Merge 0.10->trunk Matthew Wild Fri, 04 Sep 2015 11:11:40 +0100
net/http: Use server.addclient daurnimator Wed, 18 Dec 2013 19:00:24 -0500
Merge 0.10->trunk Kim Alvefur Thu, 20 Aug 2015 13:05:22 +0200
net.*: Remove use of module() function Kim Alvefur Sat, 21 Feb 2015 10:45:24 +0100
Merge 0.10->trunk Kim Alvefur Sun, 26 Oct 2014 20:58:02 +0100
Merge 0.9->0.10 Kim Alvefur Sun, 26 Oct 2014 20:57:06 +0100
certmanager, net.http: Disable SSLv3 by default 0.9.6 Matthew Wild Tue, 14 Oct 2014 18:55:08 +0100
Merge 0.10->trunk Kim Alvefur Tue, 02 Sep 2014 22:34:32 +0200
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
net/http: Use server.addclient daurnimator Wed, 18 Dec 2013 19:00:24 -0500
Merge 0.9->0.10 Matthew Wild Mon, 16 Dec 2013 23:32:11 +0000
net.http: assert() for socket creation success so it doesn't silently fail (thanks daurnimator) Matthew Wild Mon, 16 Dec 2013 23:24:16 +0000
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
net.http: Include port number (when non-standard) in the Host header of outgoing requests, as per the HTTP RFC Matthew Wild Wed, 26 Jun 2013 21:40:01 +0100
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.http: When HTTP request fails due to a network or SSL error, call the callback to let it know Matthew Wild Thu, 18 Apr 2013 00:08:58 +0100
net.http: Swap response and request parameters passed to callback (will break some modules) Matthew Wild Fri, 12 Apr 2013 00:31:05 +0100
net.http: Switch from util.httpstream to net.http.parser, introduces small but backwards-incompatible API changes - see http://prosody.im/doc/developers/http Matthew Wild Thu, 11 Apr 2013 20:24:37 +0100
net.http, util.http: Move definitions of urlencode/decode and formencode/decode to util.http (possible to use them without unnecessary network-related dependencies) Matthew Wild Thu, 11 Apr 2013 17:32:59 +0100
net.http: Throw error when connecting to a http:// URL without LuaSec available Matthew Wild Mon, 08 Apr 2013 16:40:27 +0100
net.http: Disable SSLv2 support for HTTPS connections Matthew Wild Wed, 20 Mar 2013 20:31:52 +0000
net.http: Allow passing an SSL context or options table to be used for HTTPS requests (thanks daurnimator) Matthew Wild Wed, 20 Mar 2013 20:31:02 +0000
Merge with Zash Matthew Wild Sun, 22 Jul 2012 18:47:40 +0100
net.http: Use base64 from util.encodings instead of luasocket Kim Alvefur Sat, 07 Jul 2012 23:22:15 +0200
net.http: Don't call ondisconnect manually, net.server now calls it on close Matthew Wild Sun, 22 Jul 2012 16:54:58 +0100
net.http: Fix urlencode to not encode unreserved characters, so I can guiltlessly rant about people who do. Matthew Wild Sat, 12 May 2012 02:50:38 +0100
net.http, httpclient_listener: Merge listener into net.http Matthew Wild Mon, 23 Jan 2012 17:19:16 +0000