aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* net.server: Rename 'server' config option to 'network_backend' (to select ↵Matthew Wild2014-10-221-1/+1
| | | | which net.server implementation to use)
* net/server: If server.hook_signal exists, overwrite signal.signal; else make ↵daurnimator2014-10-211-16/+18
| | | | | | | server.hook_signal == signal.signal No longer server_event specific server.hook_signal will always exist
* Move timer code out of util.timer and into relevant net.server backendsdaurnimator2014-10-202-0/+64
|
* net/server: Split up different backends in a nicer way. Add global config ↵daurnimator2014-10-171-38/+51
| | | | option 'server'
* Merge 0.10->trunkKim Alvefur2014-10-052-4/+11
|\
| * 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
| | |
* | | Merge 0.10->trunkdaurnimator2014-09-292-3/+3
|\| |
| * | net.websocket: Make data masking configurableFlorian Zeitz2014-09-262-3/+3
| | |
* | | Merge 0.10->trunkKim Alvefur2014-09-281-0/+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)
* | | Merge 0.10->trunkKim Alvefur2014-09-113-68/+82
|\ \ \ | |/ / |/| |
| * | Merge 0.10->trunkMatthew Wild2014-09-052-49/+53
| |\ \
| * \ \ Merge 0.10->trunkMatthew Wild2014-09-052-0/+460
| |\ \ \
| | * | | net/websocket: Add new websocket client codedaurnimator2014-09-032-0/+460
| | | | |
| * | | | Merge 0.10->trunkMatthew Wild2014-09-031-1/+5
| |\| | |
| * | | | Merge 0.10->trunkKim Alvefur2014-09-024-3/+21
| |\ \ \ \
| * \ \ \ \ Merge 0.10->trunkMatthew Wild2014-08-281-1/+1
| |\ \ \ \ \
| * \ \ \ \ \ Merge 0.10->trunkMatthew Wild2014-07-252-0/+2
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge 0.10->trunkMatthew Wild2014-07-251-9/+6
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge 0.10->trunkKim Alvefur2014-06-302-1/+9
| |\ \ \ \ \ \ \ \
| * | | | | | | | | net/server_*: Fix addclient: LuaSocket 3.0-rc1 sometimes returns EALREADY ↵daurnimator2014-06-252-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of EINPROGRESS when the dns lookup has multiple results
| * | | | | | | | | Merge 0.10->trunkKim Alvefur2014-04-151-4/+3
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge 0.10->trunkMatthew Wild2014-04-151-9/+17
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge 0.10->trunkMatthew Wild2014-04-022-0/+2
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | net.server_{select,event}: addclient: Handle missing getaddrinfoKim Alvefur2013-12-232-8/+4
| | | | | | | | | | | | |
| * | | | | | | | | | | | 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-6/+22
| | | | | | | | | | | | |
| * | | | | | | | | | | | net/http: Use server.addclientdaurnimator2013-12-181-11/+6
| | | | | | | | | | | | |
| * | | | | | | | | | | | net/server: addclient: wrapclient already calls startconnection for usdaurnimator2013-12-181-2/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | net/server_event: pcall require ssl rather than relying on globalsdaurnimator2013-12-181-19/+11
| | | | | | | | | | | | |
| * | | | | | | | | | | | 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_event: add_client should have same arguments no-matter the server ↵daurnimator2013-12-181-21/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backend
| * | | | | | | | | | | | net/server_select: Check arguments to add_server correctlydaurnimator2013-12-181-3/+4
| | | | | | | | | | | | |
| * | | | | | | | | | | | net/server_select: pcall require ssl (easy to forget to require ssl)daurnimator2013-12-181-5/+5
| | | | | | | | | | | | |
* | | | | | | | | | | | | 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
|\| | | | | | | | |_|_|_|_|_|/ |/| | | | | |