aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.server_select: remove unused import [luacheck]Anton Shestakov2016-07-281-1/+0
|
* net.server_select: remove unused one-letter loop variable [luacheck]Anton Shestakov2016-07-141-1/+1
|
* net.server_select: remove unused one-letter loop variables [luacheck]Anton Shestakov2016-07-091-2/+2
|
* net.server_select: Remove do-nothing os_difftime calls [backported from trunk]daurnimator2015-01-191-5/+3
|
* Merge 0.9->0.10Kim Alvefur2016-01-221-0/+20
|\
| * server_select: Add logging of when servers are paused and resumedKim Alvefur2016-01-221-0/+2
| |
| * server_select: Pause and mark server as full if accepting a client fails ↵Kim Alvefur2016-01-221-0/+2
| | | | | | | | (fixes #597)
| * server_select: Retry accepting clients from full servers after 10s (matches ↵Kim Alvefur2016-01-221-0/+11
| | | | | | | | libevent behaviour)
| * server_select: Keep track of which server listeners are fullKim Alvefur2016-01-221-0/+5
| |
* | net.server_select: Add 'server' method to client connections (present in ↵Kim Alvefur2016-01-091-0/+3
| | | | | | | | server_event)
* | server_select: Forward the actual TLS handshake error messageKim Alvefur2016-01-031-2/+3
| |
* | net.server_select: Close all connections when quitting (and not just ↵Matthew Wild2016-01-021-0/+1
| | | | | | | | stepping), matches server_event
* | net.server_{select,event}: addclient: Use getaddrinfo to detect IP address ↵Kim Alvefur2013-12-231-1/+9
| | | | | | | | 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-231-2/+9
| |
* | 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-231-5/+5
| | | | | | | | in the globals table
* | net.server_select: Reset read timeout timer if the event is handledKim Alvefur2014-10-031-0/+2
| |
* | 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.9->0.10Kim Alvefur2014-09-021-0/+5
|\|
| * net.server_select: 'listener'->'listeners' (fixes undefined global access)Matthew Wild2014-09-021-1/+1
| |
| * net.server_{select,event}: Add 'ondetach' callback for listener objects, to ↵Matthew Wild2014-08-291-0/+5
| | | | | | | | notify them when another listener is being assigned to a connection
* | Merge 0.9->0.10Matthew Wild2014-07-251-0/+1
|\|
| * net.server_select/event: Switch sender mode to *a when reading, to make sure ↵Matthew Wild2014-07-251-0/+1
| | | | | | | | we get all available data
* | Merge 0.9->0.10Matthew Wild2014-04-021-12/+16
|\ \ | |/ |/|
| * Merge 0.9->0.10Matthew Wild2013-12-161-5/+1
| |\
| * | server_select: fix onreadtimeout support so that listeners can override the ↵Matthew Wild2013-09-281-0/+4
| | | | | | | | | | | | default (disconnect) behaviour
| * | net.server_select: Return handler from addclientKim Alvefur2013-09-061-2/+2
| | |
| * | net.server_select: Pass on all arguments to addclient on to wrapclientKim Alvefur2013-09-061-1/+1
| | |
| * | Remove all trailing whitespaceFlorian Zeitz2013-08-091-5/+5
| | |
| * | Merge 0.9->trunkKim Alvefur2013-06-091-1/+3
| |\ \
| * \ \ Merge 0.9->trunkMatthew Wild2013-06-051-1/+1
| |\ \ \
| * | | | net.server_select: Default checkinterval to 30s, so that read timeouts are ↵Matthew Wild2013-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | actually detected
| * | | | net.server_select: Support for listener.onreadtimeout() [see also e67891ad18d6]Matthew Wild2013-05-241-4/+4
| | | | |
* | | | | net.server_{select,event}: Add compat code for supporting the same client ↵Kim Alvefur2014-04-011-0/+1
| |_|_|/ |/| | | | | | | | | | | port API on connections
* | | | net.server_select: Don't remove the socket from sendlist when we might have ↵Matthew Wild2013-12-161-5/+1
| |_|/ |/| | | | | | | | data in the buffer (we'll now let sendbuffer() take care of that) (thanks daurnimator)
* | | net.server_select: Make sure there is a server to pause when hitting maxfd ↵Kim Alvefur2013-06-091-1/+3
| |/ |/| | | | | (Thanks elghinn)
* | net.server_select: Ensure _maxfd = math.huge on Windows, always.Waqas Hussain2013-06-021-1/+1
|/
* net.server_select: Don't limit max file descriptor number on Windows.Waqas Hussain2013-04-291-1/+2
|
* net.server*: Allow the TCP backlog parameter to be set in the configKim Alvefur2013-04-271-2/+6
|
* net.server_select: Don't call onconnect twice for SSL connectionsMatthew Wild2013-04-181-1/+1
|
* Merge backoutMatthew Wild2013-04-181-0/+3
|\
| * Backed out changeset f2631a14b953Matthew Wild2013-04-181-0/+3
| |
* | net.server_select: Add and improve some comments.Waqas Hussain2013-04-161-2/+5
| |
* | net.server_select: Move socket timeout cleanup code out of a timer, into the ↵Waqas Hussain2013-04-161-22/+20
| | | | | | | | select loop (which makes util.timer the only timer using server_select._addtimer).
* | net.server_select: Normalize indentationKim Alvefur2013-04-171-6/+6
|/
* net.server_select: Don't call onconnect twice on SSL connectionsKim Alvefur2013-04-171-3/+0
|
* net.server, _select: Reorganise configuration of server_select to be more ↵Kim Alvefur2013-03-231-1/+12
| | | | like server_event