Log

net/http.lua @ 11057:13eee48071c8

description author age
net.http: http.request() promise now resolves with response (breaking change) Matthew Wild Tue, 25 Aug 2020 15:59:04 +0100
net.http: use new net.http.errors lib for creating error object Matthew Wild Tue, 25 Aug 2020 15:57:39 +0100
Merge 0.11->trunk Matthew Wild Sat, 08 Aug 2020 13:14:11 +0100
net.http: Add request:cancel() method 0.11 Matthew Wild Sat, 08 Aug 2020 13:13:50 +0100
net.http: Re-expose destroy_request() function 0.11 Matthew Wild Sat, 08 Aug 2020 13:11:11 +0100
Merge 0.11->trunk Matthew Wild Tue, 07 Jul 2020 13:52:45 +0100
net.http: Fix traceback on invalid URL passed to request() 0.11 Matthew Wild Tue, 07 Jul 2020 13:52:25 +0100
net.http: Return a Promise if no callback is given Kim Alvefur Wed, 06 May 2020 18:03:20 +0200
net.http: Set ALPN on requests Kim Alvefur Fri, 29 Nov 2019 23:25:59 +0100
net.http: Pass server name along for SNI (fixes #1408) Kim Alvefur Sun, 01 Sep 2019 02:05:33 +0200
net.*: Remove tostring call from logging Kim Alvefur Tue, 30 Jul 2019 02:35:17 +0200
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