aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge 0.9->trunkMatthew Wild2013-06-051-1/+1
|\|
| * net.server_select: Ensure _maxfd = math.huge on Windows, always.Waqas Hussain2013-06-021-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: 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
* net.server_select: Optimization, clean bufferqueue when it makes sense.Kim Alvefur2013-03-011-16/+5
|
* net.server_select: Use # operator instead of string.lenKim Alvefur2013-03-011-3/+2
|
* net.server_select: Limit global number of sockets passed to select.Kim Alvefur2013-02-121-9/+23
|
* net.server_select: Be less aggressive about server pauseKim Alvefur2013-02-121-8/+11
|
* net.server_select: Remove useless duplicated settimeout() callKim Alvefur2013-01-071-1/+0
|
* net.server_select: Fix global accessKim Alvefur2013-01-071-0/+1
|
* net.server_select: Pause servers while they are fullKim Alvefur2012-12-281-0/+4
|
* net.server_select: Add pause and resume methodsKim Alvefur2012-12-281-0/+19
|
* net.server_select: Better names for config options (thanks MattJ)Kim Alvefur2012-11-231-10/+10
|
* net.server_select: Remove unused variables and importsMatthew Wild2012-07-221-5/+0
|
* net.server_select: Remove extraneous variableMatthew Wild2012-07-221-1/+0
|
* net.server_select: Never call ondisconnect() directly, go via ↵Matthew Wild2012-07-221-14/+11
| | | | handler:close() or handler:force_close() - fixes cases where ondisconnect() could be called multiple times for the same connection, leading to issues with s2sout retry logic.
* net.server_select, net.server_event: Change semantics of conn:close() - ↵Matthew Wild2012-07-221-18/+24
| | | | always call ondisconnect (with err == nil), and never close with data in send buffer (i.e. 'now' parameter removed)
* net.server_select: Don't close client connections when closing a server (it ↵Matthew Wild2012-05-231-7/+1
| | | | wasn't working anyway)
* net.server_select: Call ondisconnect handler, even if we closed the socket ↵Matthew Wild2012-05-231-0/+4
| | | | ourselves (fixes HTTP session hoarding, thanks Maranda)
* net.server_select: Return error when SSL handshake fails immediately (thanks ↵Matthew Wild2012-05-181-3/+6
| | | | Zash)
* net.server, net.timer, net.server_select: Rearrange dependencies between ↵Matthew Wild2012-05-031-2/+1
| | | | these three modules. server.addtimer() is no longer a public function (renamed to _addtimer) and is not available at all from server_event (compat code removed to prevent traceback) (thanks Nulani)
* net.server_select: Remove server from _server table when closingMatthew Wild2012-04-241-0/+1
|
* net.server_select: Autostart SSL negotiation as the last part of socket ↵Matthew Wild2011-11-281-12/+10
| | | | setup to avoid a traceback (#262) (thanks Maranda)
* net.server_event, net.server_select: Fixed some global pollution.Waqas Hussain2011-10-141-2/+2
|
* net.server_select: Minor whitespace fix.Waqas Hussain2011-10-131-1/+1
|
* net.server_select: Never call onincoming with nil data when a listener ↵Matthew Wild2011-09-271-2/+5
| | | | doesn't have an onconnect handler
* net.server_select: Remove socket from sendlist before calling listener ↵Matthew Wild2011-08-201-1/+1
| | | | callbacks (thanks darkrain)
* net.server_select: Merge straight-SSL and starttls code paths, also fixes ↵Matthew Wild2011-08-201-69/+57
| | | | onconnect being called before handshake completion for straight-SSL
* net.server_select: Update error logging logic during SSL handshake (now ↵Matthew Wild2011-08-201-3/+3
| | | | shows correctly when a handshake exceeded max. allowed iterations)
* net.server_select: Small fix to SSL handshake logic, read/wrote were being ↵Matthew Wild2011-08-201-4/+3
| | | | checked despite it not being possible for them to be other than nil
* net.server_select: Do not set 'ssl' flag simply when assigning an sslctx to ↵Matthew Wild2011-08-201-1/+0
| | | | a handler, it doesn't mean anything
* connlistener, server_select, prosody: Add support for binding to multiple ↵Florian Zeitz2011-06-151-12/+12
| | | | addresses
* net.server_select: Expose step() function (thanks Łukasz)Matthew Wild2011-02-141-0/+1
|
* net.server_select, net.server_event: Silence 'error during ssl handshake' ↵Matthew Wild2011-01-111-1/+1
| | | | for wantread and wantwrite
* net/server_select.lua: Reduce select() timeout back to 1sMatthew Wild2010-12-181-1/+1
|
* net.server_select: Set select() timeout to 3600 by default.Waqas Hussain2010-12-021-1/+1
|
* net.server_select: Made another global local.Waqas Hussain2010-12-021-0/+1
|
* net.server_select: Made some globals local.Waqas Hussain2010-12-021-0/+3
|
* net.server_select: Make changes required for sub-second timer precision.Waqas Hussain2010-12-021-7/+14
|
* net.server_select: Restore real sendbuffer() before calling onconnect ↵Matthew Wild2010-10-221-1/+1
| | | | handler, in case onconnect sends data and the socket is still writeable (causing stack overflow into sendbuffer()/onconnect())