aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua (follow)
Commit message (Expand)AuthorAgeFilesLines
* net.http: Manually merge settings (fixes #1231)Kim Alvefur2018-11-091-2/+6
* Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcallMatthew Wild2018-10-261-3/+4
* Merge 0.10->trunkKim Alvefur2018-04-061-0/+1
|\
| * net.http: Import setmetatable into local scope (fixes #1125)Kim Alvefur2018-04-061-0/+1
* | Merge 0.10 -> trunkMatthew Wild2018-04-041-1/+1
|\|
| * net.http: Fix parameter order to http request callbacksMatthew Wild2018-04-041-1/+1
* | net.http: Allow enabling/disabling error suppression, useful for testsMatthew Wild2018-03-241-2/+7
* | net.http: Fix for Lua 5.2: return error from error handler (xpcall changed)Matthew Wild2018-03-241-1/+1
* | vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
* | net.http: Refactor to use new net.connect API, brings support for async DNSMatthew Wild2018-02-261-70/+81
* | net.http: Rename handler to conn, for consistency with all our other codeMatthew Wild2018-02-231-3/+3
* | net.http: Remove use of 'conn' (raw socket object returned by addclient)Matthew Wild2018-02-231-9/+10
|/
* net.http: Add option for disabling TLS certifictate validationKim Alvefur2017-07-071-1/+2
* net.http: Validate HTTPS certificates (fixes #659)Kim Alvefur2017-07-071-0/+21
* net.http: Move default SSL/TLS settings into options, allowing them to be overriden in new()Kim Alvefur2017-07-071-2/+4
* net.http: Expose defaultsKim Alvefur2017-07-071-0/+1
* net.http: Remove duplicate 'request' entryKim Alvefur2017-07-071-1/+0
* net.http: Add request.url, which is the original full URL as a stringMatthew Wild2017-04-211-0/+1
* net.http: Fire new events: pre-request, request-connection-error, request, responseMatthew Wild2017-04-211-1/+19
* net.http: Allow creation of http client objects, with custom optionsMatthew Wild2017-04-211-3/+22
* net.http: Pass error all the way to callbackKim Alvefur2017-04-021-3/+3
* net.http: Strip trailing whitespaceKim Alvefur2016-12-301-1/+1
* net.http: Remove unused imports [luacheck]Kim Alvefur2016-12-301-3/+3
* net.http: Add quotes around ids in log messagesMatthew Wild2016-07-271-3/+3
* net.http: Add log messages for requests, including their id (so "calling callback" and tracebacks can be traced back to their initial request)Matthew Wild2016-07-071-1/+13
* net.http: Add request.id to every request object (can be overridden by providing ex.id)Matthew Wild2016-07-071-0/+4
* net/http: Use server.addclientdaurnimator2013-12-181-11/+6
* net.*: Remove use of module() functionKim Alvefur2015-02-211-16/+18
* Merge 0.9->0.10Kim Alvefur2014-10-261-1/+1
|\
| * certmanager, net.http: Disable SSLv3 by default0.9.6Matthew Wild2014-10-141-1/+1
* | Merge 0.9->0.10Kim Alvefur2014-09-021-0/+4
|\|
| * 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 Wild2014-08-291-0/+4
* | Merge 0.9->0.10Matthew Wild2013-12-161-1/+2
|\|
| * net.http: assert() for socket creation success so it doesn't silently fail (thanks daurnimator)Matthew Wild2013-12-161-1/+2
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-15/+15
|/
* net.http: Include port number (when non-standard) in the Host header of outgoing requests, as per the HTTP RFCMatthew Wild2013-06-261-4/+13
* mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit traceback function), to make it clearer where an error occuredMatthew Wild2013-04-221-4/+4
* net.http: When HTTP request fails due to a network or SSL error, call the callback to let it knowMatthew Wild2013-04-181-7/+12
* net.http: Swap response and request parameters passed to callback (will break some modules)Matthew Wild2013-04-121-2/+1
* net.http: Switch from util.httpstream to net.http.parser, introduces small but backwards-incompatible API changes - see http://prosody.im/doc/developers/httpMatthew Wild2013-04-111-1/+1
* 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 Wild2013-04-111-41/+7
* net.http: Throw error when connecting to a http:// URL without LuaSec availableMatthew Wild2013-04-081-0/+5
* net.http: Disable SSLv2 support for HTTPS connectionsMatthew Wild2013-03-201-1/+1
* net.http: Allow passing an SSL context or options table to be used for HTTPS requests (thanks daurnimator)Matthew Wild2013-03-201-1/+6
* Merge with ZashMatthew Wild2012-07-221-2/+2
|\
| * net.http: Use base64 from util.encodings instead of luasocketKim Alvefur2012-07-071-2/+2
* | net.http: Don't call ondisconnect manually, net.server now calls it on closeMatthew Wild2012-07-221-1/+0
|/
* net.http: Fix urlencode to not encode unreserved characters, so I can guiltlessly rant about people who do.Matthew Wild2012-05-121-1/+1
* net.http, httpclient_listener: Merge listener into net.httpMatthew Wild2012-01-231-5/+47
* net.http: Pass response object to callbacks (feels hacky, should this be passed *instead of* the request?)Matthew Wild2012-01-171-2/+2