Log

net/http.lua @ 11980:a91494a4c3d0

description author age
net.http: fail open if surrounding code does not configure TLS Jonas Schäfer 2021-08-29
net.http: Send entire HTTP request header as one write Kim Alvefur 2021-07-08
net.http: track time of request for debug/stats purposes Matthew Wild 2020-12-09
net.http: Add support for streaming chunked/large responses Matthew Wild 2020-10-21
Merge 0.11->trunk Matthew Wild 2020-09-15
net.http: Add feature discovery (currently just contains SNI) 0.11 Matthew Wild 2020-09-15
net.server: Backport client parts of SNI support from trunk (#409) 0.11 Kim Alvefur 2020-08-17
net.http: http.request() promise now resolves with response (breaking change) Matthew Wild 2020-08-25
net.http: use new net.http.errors lib for creating error object Matthew Wild 2020-08-25
Merge 0.11->trunk Matthew Wild 2020-08-08
net.http: Add request:cancel() method 0.11 Matthew Wild 2020-08-08
net.http: Re-expose destroy_request() function 0.11 Matthew Wild 2020-08-08
Merge 0.11->trunk Matthew Wild 2020-07-07
net.http: Fix traceback on invalid URL passed to request() 0.11 Matthew Wild 2020-07-07
net.http: Return a Promise if no callback is given Kim Alvefur 2020-05-06
net.http: Set ALPN on requests Kim Alvefur 2019-11-29
net.http: Pass server name along for SNI (fixes #1408) Kim Alvefur 2019-09-01
net.*: Remove tostring call from logging Kim Alvefur 2019-07-30
net.http: Manually merge settings (fixes #1231) 0.11 Kim Alvefur 2018-11-09
Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall Matthew Wild 2018-10-26
Merge 0.10->trunk Kim Alvefur 2018-04-05
net.http: Import setmetatable into local scope (fixes #1125) Kim Alvefur 2018-04-05
Merge 0.10 -> trunk Matthew Wild 2018-04-04
net.http: Fix parameter order to http request callbacks Matthew Wild 2018-04-04
net.http: Allow enabling/disabling error suppression, useful for tests Matthew Wild 2018-03-24
net.http: Fix for Lua 5.2: return error from error handler (xpcall changed) Matthew Wild 2018-03-24
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur 2018-02-28
net.http: Refactor to use new net.connect API, brings support for async DNS Matthew Wild 2018-02-26
net.http: Rename handler to conn, for consistency with all our other code Matthew Wild 2018-02-23
net.http: Remove use of 'conn' (raw socket object returned by addclient) Matthew Wild 2018-02-23
Merge 0.10->trunk Kim Alvefur 2017-08-28
net.http: Add option for disabling TLS certifictate validation Kim Alvefur 2017-07-07
net.http: Validate HTTPS certificates (fixes #659) Kim Alvefur 2017-07-07
net.http: Move default SSL/TLS settings into options, allowing them to be overriden in new() Kim Alvefur 2017-07-07
net.http: Expose defaults Kim Alvefur 2017-07-07
net.http: Remove duplicate 'request' entry Kim Alvefur 2017-07-07
Merge 0.10->trunk Kim Alvefur 2017-04-24
net.http: Add request.url, which is the original full URL as a string Matthew Wild 2017-04-21
net.http: Fire new events: pre-request, request-connection-error, request, response Matthew Wild 2017-04-21
net.http: Allow creation of http client objects, with custom options Matthew Wild 2017-04-21
Merge 0.10->trunk Kim Alvefur 2017-04-01
net.http: Pass error all the way to callback Kim Alvefur 2017-04-01
Merge 0.10->trunk Kim Alvefur 2017-01-01
net.http: Strip trailing whitespace Kim Alvefur 2016-12-30
net.http: Remove unused imports [luacheck] Kim Alvefur 2016-12-30
Merge 0.10 -> trunk Matthew Wild 2016-07-27
net.http: Add quotes around ids in log messages Matthew Wild 2016-07-27
Merge 0.10->trunk Matthew Wild 2016-07-07
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 2016-07-07
net.http: Add request.id to every request object (can be overridden by providing ex.id) Matthew Wild 2016-07-07
Merge 0.10->trunk Matthew Wild 2015-09-04
net/http: Use server.addclient daurnimator 2013-12-19
Merge 0.10->trunk Kim Alvefur 2015-08-20
net.*: Remove use of module() function Kim Alvefur 2015-02-21
Merge 0.10->trunk Kim Alvefur 2014-10-26
Merge 0.9->0.10 Kim Alvefur 2014-10-26
certmanager, net.http: Disable SSLv3 by default 0.9.6 Matthew Wild 2014-10-14
Merge 0.10->trunk Kim Alvefur 2014-09-02
Merge 0.9->0.10 Kim Alvefur 2014-09-02
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 2014-08-29
net/http: Use server.addclient daurnimator 2013-12-19
Merge 0.9->0.10 Matthew Wild 2013-12-16
net.http: assert() for socket creation success so it doesn't silently fail (thanks daurnimator) Matthew Wild 2013-12-16
Remove all trailing whitespace Florian Zeitz 2013-08-09
net.http: Include port number (when non-standard) in the Host header of outgoing requests, as per the HTTP RFC Matthew Wild 2013-06-26
mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit traceback function), to make it clearer where an error occured Matthew Wild 2013-04-22
net.http: When HTTP request fails due to a network or SSL error, call the callback to let it know Matthew Wild 2013-04-17
net.http: Swap response and request parameters passed to callback (will break some modules) Matthew Wild 2013-04-11
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 2013-04-11
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 2013-04-11
net.http: Throw error when connecting to a http:// URL without LuaSec available Matthew Wild 2013-04-08
net.http: Disable SSLv2 support for HTTPS connections Matthew Wild 2013-03-20
net.http: Allow passing an SSL context or options table to be used for HTTPS requests (thanks daurnimator) Matthew Wild 2013-03-20
Merge with Zash Matthew Wild 2012-07-22
net.http: Use base64 from util.encodings instead of luasocket Kim Alvefur 2012-07-07
net.http: Don't call ondisconnect manually, net.server now calls it on close Matthew Wild 2012-07-22
net.http: Fix urlencode to not encode unreserved characters, so I can guiltlessly rant about people who do. Matthew Wild 2012-05-12
net.http, httpclient_listener: Merge listener into net.http Matthew Wild 2012-01-23
net.http: Pass response object to callbacks (feels hacky, should this be passed *instead of* the request?) Matthew Wild 2012-01-17
net.http: Remove extra space after method in request status line for POST. Waqas Hussain 2011-08-31
net.http: Convert port to a number (for custom port in URL) Matthew Wild 2011-08-22
net.http: Support for k->v maps in http.formencode Matthew Wild 2011-08-20
net.http, httpclient_listener: Move request sending from net.http to onconnect() handler, and add support for HTTPS requests to net.http Matthew Wild 2011-08-20
net.http: Whitespace fixes Matthew Wild 2011-08-20
net.http: Small fix to prevent traceback when connection fails before sending the request Matthew Wild 2011-08-20
net.http: Add formdecode to decode an urlencoded form Matthew Wild 2011-08-10
net.http: Removed old HTTP parser, and updated to use util.httpstream. Waqas Hussain 2010-11-05
Monster whitespace commit (beware the whitespace monster). Waqas Hussain 2010-10-16
net.http: Add http.formencode() for www-form-urlencoded from an array of fields (thanks dersd) Matthew Wild 2010-08-27
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
net.http: destroy_request(): Pass request.handler to disconnect() listener to fix small leak Matthew Wild 2010-03-03
net.http: Close connection when invalid status line is received from the server Matthew Wild 2010-02-19
net.http: Don't re-destroy a request when the connection is closed Matthew Wild 2010-02-19
net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd) Matthew Wild 2010-02-19
net.http: Don't expect the body on redirects Matthew Wild 2009-12-10
net.http: Update print()s to log()s - don't ask how this came to be, I have no idea :) Matthew Wild 2010-02-19
net.http: destroy_request(): Remove update for new server API, pass request.handler instead of request.conn to ondisconnect Matthew Wild 2010-02-19
net.http: Close connection when invalid status line is received from the server Matthew Wild 2010-02-19
net.http: Don't re-destroy a request when the connection is closed Matthew Wild 2010-02-19
net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd) Matthew Wild 2010-02-19
net.http: Don't expect the body on redirects Matthew Wild 2009-12-10
net.httpserver, net.http: Update for new net.server API (untested) Matthew Wild 2009-11-22
Add copyright header to those files missing one Matthew Wild 2009-07-10
net.http: (Re-)add url[en|de]code functions Matthew Wild 2009-06-12
Merge with 0.4 Matthew Wild 2009-05-04
net.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks Jan Harkes) Matthew Wild 2009-05-04
net.http: Fix potential nil access Matthew Wild 2009-04-22
Fixed: net/http.lua: HTTP request callback wasn't being called on some errors Waqas Hussain 2009-03-29
net.http: Don't throw error on invalid URLs. Fixes #56. Matthew Wild 2009-03-21
Port to new server.lua, quite some changes, but I believe everything to be working Matthew Wild 2009-01-17
net.http: custom_headers -> headers Matthew Wild 2009-01-16
net.http: Don't log content from server Matthew Wild 2009-01-15
net.http: Fix to send query part of URL to server Matthew Wild 2009-01-15
net.http: Fix for callbacks being triggered multiple times for the same request Matthew Wild 2009-01-14
Protected call for HTTP request callbacks, to catch errors Matthew Wild 2009-01-08
Fix to prevent calling HTTP request callback twice with the same data Matthew Wild 2009-01-08
HTTP requests now have status code as a number instead of a string. Switched parameters on both http.request() and the callback to better match LuaSocket's http module Matthew Wild 2008-12-25
Fix nil status code for http request callbacks Matthew Wild 2008-12-22
Fixed URL encoding to generate %0x instead of %x Waqas Hussain 2008-12-15
Oops, don't call server.loop() because we'll be running inside the server Matthew Wild 2008-12-12
Pass HTTP request object to callback Matthew Wild 2008-12-12
HTTP request callbacks now: handler(code, content) (where code may be 0, and content an error message) Matthew Wild 2008-12-12
Non-blocking HTTP requests (adding net.http) Matthew Wild 2008-12-12