aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* server_event: Remove needless scoping and indentationKim Alvefur2015-09-251-579/+562
|
* server_event: Move local references to various functions to top of fileKim Alvefur2015-09-251-22/+18
|
* server_event: Replace implementation of ordered set with a simple table setKim Alvefur2015-09-251-38/+6
|
* net/http: Use server.addclientdaurnimator2013-12-181-11/+6
|
* net.server_{select,event}: addclient: Use getaddrinfo to detect IP address ↵Kim Alvefur2013-12-232-2/+17
| | | | type if no socket type argument given. (Argument must be given for non-TCP)
* net.server_{select,event}: addclient: Add argument for overriding socket typeKim Alvefur2013-12-232-4/+18
|
* net/server_event: pcall require ssl rather than relying on globalsdaurnimator2013-12-181-15/+7
|
* net/server_event: add_client should have same arguments no-matter the server ↵daurnimator2013-12-181-21/+6
| | | | backend
* net/server_select: Fix typodaurnimator2013-12-181-1/+1
|
* net/server_select: addclient: Check argumentsdaurnimator2013-12-181-0/+15
|
* net/server_select: addclient: Check for failure correctly; remove ↵daurnimator2013-12-181-3/+3
| | | | wrapconnection call on failure
* net/server_select: Check arguments to add_server correctlydaurnimator2013-12-181-3/+4
|
* net.server_{select,event}: Don't rely on LuaSocket and LuaSec being present ↵Kim Alvefur2015-02-232-11/+11
| | | | in the globals table
* net.*: Remove use of module() functionKim Alvefur2015-02-215-34/+44
|
* net.dns: Remove resolver:new(), as it needlessly and incorrectly duplicates ↵Matthew Wild2015-07-061-11/+0
| | | | dns.resolver()
* net.http.codes: Update from registryKim Alvefur2015-05-141-3/+9
|
* Merge 0.9->0.10Kim Alvefur2015-05-031-1/+1
|\
| * net.dns: Make sure argument to math.randomseed does not overflow a 32 bit ↵Kim Alvefur2015-04-261-1/+1
| | | | | | | | *signed* int (blame Lua). Closes #439
* | Merge 0.9->0.10Kim Alvefur2015-04-261-3/+8
|\|
| * net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2sKim Alvefur2015-04-241-3/+8
| |
* | Merge 0.9->0.10 (third time lucky)Matthew Wild2015-03-271-1/+1
|\|
| * net.http.server: Log event name when firing a request eventMatthew Wild2015-03-141-1/+1
| |
* | net.http.server: Log names of the events firedKim Alvefur2014-12-081-1/+1
| |
* | Merge 0.9->0.10Kim Alvefur2014-11-201-6/+6
|\|
| * net.http.parser: Fix whitespace/indentationMatthew Wild2014-11-181-5/+5
| |
| * net.http.parser: Fix chunked encoding parsing across packet boundaries.daurnimator2014-11-101-1/+1
| |
* | Merge 0.9 -> 0.10Kim Alvefur2014-11-092-10/+14
|\|
| * net.dns: Try next server if peer name can not be set (thanks wirehack7)Kim Alvefur2014-10-301-6/+10
| |
| * net.dns: Return new socket from servfailKim Alvefur2014-10-301-3/+4
| |
| * net.adns: Log peername recorded from wrapped setpeername instead of calling ↵Kim Alvefur2014-10-301-2/+1
| | | | | | | | sock:getpeername, it exists and throws an error on unconnected sockets (thanks wirehack7)
| * net.adns: Preserve error from setpeernameKim Alvefur2014-10-301-1/+1
| |
* | Merge 0.9->0.10Kim Alvefur2014-10-261-1/+1
|\|
| * certmanager, net.http: Disable SSLv3 by defaultMatthew Wild2014-10-141-1/+1
| |
* | Merge 0.9->0.10Kim Alvefur2014-10-051-4/+9
|\|
| * net.dns: Avoid duplicate cache entriesFlorian Zeitz2014-10-051-4/+9
| |
* | net.server_select: Reset read timeout timer if the event is handledKim Alvefur2014-10-031-0/+2
| |
* | net.websocket: Make data masking configurableFlorian Zeitz2014-09-262-3/+3
| |
* | net.server_select: When an SSL handshake is connected, if there is pending ↵Matthew Wild2014-09-261-0/+3
| | | | | | | | data to be written to the socket, mark the socket as waiting to send (thanks daurnimator)
* | net.websocket: Fix handling of 'protocol' argumentKim Alvefur2014-09-111-6/+9
| |
* | Check Sec-WebSocket-Protocol headerFlorian Zeitz2014-09-051-5/+10
| |
* | net/websocket: Add new websocket client codedaurnimator2014-09-032-0/+459
| |
* | Merge 0.9->0.10Matthew Wild2014-09-031-1/+5
|\|
| * net.http.parser: Support status code 101 and allow handling of the received ↵Matthew Wild2014-09-031-1/+5
| | | | | | | | data by someone else
* | Merge 0.9->0.10Kim Alvefur2014-09-024-3/+21
|\|
| * net.server_select: 'listener'->'listeners' (fixes undefined global access)Matthew Wild2014-09-021-1/+1
| |
| * net.http, net.http.server, mod_c2s, mod_s2s, mod_component, ↵Matthew Wild2014-08-292-0/+8
| | | | | | | | mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent)
| * net.server_{select,event}: Add 'ondetach' callback for listener objects, to ↵Matthew Wild2014-08-292-2/+13
| | | | | | | | notify them when another listener is being assigned to a connection
* | Merge 0.9->0.10Matthew Wild2014-08-281-1/+1
|\|
| * net.http.server: Comment out a log messageKim Alvefur2014-08-271-1/+1
| |
* | Merge 0.9->0.10Matthew Wild2014-07-252-0/+2
|\|