Log

net/server_select.lua @ 6453:14b62ad88d8a

description author age
Merge 0.10->trunk Kim Alvefur Sun, 28 Sep 2014 01:56:22 +0200
net.server_select: When an SSL handshake is connected, if there is pending data to be written to the socket, mark the socket as waiting to send (thanks daurnimator) Matthew Wild Fri, 26 Sep 2014 17:16:46 +0100
Merge 0.10->trunk Kim Alvefur Tue, 02 Sep 2014 22:34:32 +0200
Merge 0.9->0.10 Kim Alvefur Tue, 02 Sep 2014 22:33:11 +0200
net.server_select: 'listener'->'listeners' (fixes undefined global access) Matthew Wild Tue, 02 Sep 2014 17:23:44 +0100
net.server_{select,event}: Add 'ondetach' callback for listener objects, to notify them when another listener is being assigned to a connection Matthew Wild Fri, 29 Aug 2014 11:39:56 +0100
Merge 0.10->trunk Matthew Wild Fri, 25 Jul 2014 13:54:47 +0100
Merge 0.9->0.10 Matthew Wild Fri, 25 Jul 2014 13:54:27 +0100
net.server_select/event: Switch sender mode to *a when reading, to make sure we get all available data Matthew Wild Fri, 25 Jul 2014 13:53:39 +0100
net/server_*: Fix addclient: LuaSocket 3.0-rc1 sometimes returns EALREADY instead of EINPROGRESS when the dns lookup has multiple results daurnimator Wed, 25 Jun 2014 12:15:00 -0400
Merge 0.10->trunk Matthew Wild Wed, 02 Apr 2014 17:42:22 +0100
Merge 0.9->0.10 Matthew Wild Wed, 02 Apr 2014 17:41:38 +0100
net.server_{select,event}: Add compat code for supporting the same client port API on connections Kim Alvefur Tue, 01 Apr 2014 15:26:40 +0200
net.server_{select,event}: addclient: Handle missing getaddrinfo Kim Alvefur Mon, 23 Dec 2013 23:23:59 +0100
net.server_{select,event}: addclient: Use getaddrinfo to detect IP address type if no socket type argument given. (Argument must be given for non-TCP) Kim Alvefur Mon, 23 Dec 2013 17:57:53 +0100
net.server_{select,event}: addclient: Add argument for overriding socket type Kim Alvefur Mon, 23 Dec 2013 17:55:41 +0100
net/server_select: Fix typo daurnimator Wed, 18 Dec 2013 18:06:33 -0500
net/server_select: addclient: Check arguments daurnimator Wed, 18 Dec 2013 17:55:03 -0500
net/server_select: addclient: Check for failure correctly; remove wrapconnection call on failure daurnimator Wed, 18 Dec 2013 17:54:31 -0500
net/server_select: Check arguments to add_server correctly daurnimator Wed, 18 Dec 2013 17:51:27 -0500
net/server_select: pcall require ssl (easy to forget to require ssl) daurnimator Wed, 18 Dec 2013 17:50:38 -0500
Merge 0.9->0.10 Matthew Wild Mon, 16 Dec 2013 23:32:11 +0000
net.server_select: Don't remove the socket from sendlist when we might have data in the buffer (we'll now let sendbuffer() take care of that) (thanks daurnimator) Matthew Wild Mon, 16 Dec 2013 23:31:43 +0000
server_select: fix onreadtimeout support so that listeners can override the default (disconnect) behaviour Matthew Wild Sat, 28 Sep 2013 18:40:48 +0100
net.server_select: Return handler from addclient Kim Alvefur Fri, 06 Sep 2013 10:53:04 +0200
net.server_select: Pass on all arguments to addclient on to wrapclient Kim Alvefur Fri, 06 Sep 2013 10:52:37 +0200
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
Merge 0.9->trunk Kim Alvefur Sun, 09 Jun 2013 17:03:15 +0200
net.server_select: Make sure there is a server to pause when hitting maxfd (Thanks elghinn) Kim Alvefur Sun, 09 Jun 2013 17:00:26 +0200
Merge 0.9->trunk Matthew Wild Wed, 05 Jun 2013 21:36:29 +0100
net.server_select: Ensure _maxfd = math.huge on Windows, always. Waqas Hussain Sun, 02 Jun 2013 16:23:19 -0400
net.server_select: Default checkinterval to 30s, so that read timeouts are actually detected Matthew Wild Fri, 24 May 2013 18:33:16 +0100
net.server_select: Support for listener.onreadtimeout() [see also e67891ad18d6] Matthew Wild Fri, 24 May 2013 18:14:09 +0100
net.server_select: Don't limit max file descriptor number on Windows. Waqas Hussain Mon, 29 Apr 2013 20:26:48 +0500
net.server*: Allow the TCP backlog parameter to be set in the config Kim Alvefur Sat, 27 Apr 2013 22:46:01 +0200
net.server_select: Don't call onconnect twice for SSL connections Matthew Wild Thu, 18 Apr 2013 00:41:03 +0100
Merge backout Matthew Wild Thu, 18 Apr 2013 00:40:09 +0100
Backed out changeset f2631a14b953 Matthew Wild Thu, 18 Apr 2013 00:39:59 +0100
net.server_select: Add and improve some comments. Waqas Hussain Tue, 16 Apr 2013 18:18:22 -0400
net.server_select: Move socket timeout cleanup code out of a timer, into the select loop (which makes util.timer the only timer using server_select._addtimer). Waqas Hussain Tue, 16 Apr 2013 18:15:10 -0400
net.server_select: Normalize indentation Kim Alvefur Wed, 17 Apr 2013 21:30:44 +0200
net.server_select: Don't call onconnect twice on SSL connections Kim Alvefur Wed, 17 Apr 2013 19:10:04 +0200
net.server, _select: Reorganise configuration of server_select to be more like server_event Kim Alvefur Sat, 23 Mar 2013 20:06:02 +0100
net.server_select: Optimization, clean bufferqueue when it makes sense. Kim Alvefur Fri, 01 Mar 2013 11:41:26 +0100
net.server_select: Use # operator instead of string.len Kim Alvefur Fri, 01 Mar 2013 11:11:05 +0100
net.server_select: Limit global number of sockets passed to select. Kim Alvefur Tue, 12 Feb 2013 03:24:41 +0100
net.server_select: Be less aggressive about server pause Kim Alvefur Tue, 12 Feb 2013 03:24:30 +0100
net.server_select: Remove useless duplicated settimeout() call Kim Alvefur Mon, 07 Jan 2013 02:21:03 +0100
net.server_select: Fix global access Kim Alvefur Mon, 07 Jan 2013 02:20:43 +0100
net.server_select: Pause servers while they are full Kim Alvefur Fri, 28 Dec 2012 14:33:27 +0100
net.server_select: Add pause and resume methods Kim Alvefur Fri, 28 Dec 2012 14:33:27 +0100
net.server_select: Better names for config options (thanks MattJ) Kim Alvefur Fri, 23 Nov 2012 01:51:30 +0100
net.server_select: Remove unused variables and imports Matthew Wild Sun, 22 Jul 2012 23:41:33 +0100
net.server_select: Remove extraneous variable Matthew Wild Sun, 22 Jul 2012 23:39:27 +0100
net.server_select: Never call ondisconnect() directly, go via 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. Matthew Wild Sun, 22 Jul 2012 22:12:17 +0100
net.server_select, net.server_event: Change semantics of conn:close() - always call ondisconnect (with err == nil), and never close with data in send buffer (i.e. 'now' parameter removed) Matthew Wild Sun, 22 Jul 2012 16:54:33 +0100
net.server_select: Don't close client connections when closing a server (it wasn't working anyway) Matthew Wild Wed, 23 May 2012 02:20:32 +0100
net.server_select: Call ondisconnect handler, even if we closed the socket ourselves (fixes HTTP session hoarding, thanks Maranda) Matthew Wild Wed, 23 May 2012 02:19:11 +0100
net.server_select: Return error when SSL handshake fails immediately (thanks Zash) Matthew Wild Fri, 18 May 2012 00:27:06 +0100
net.server, net.timer, net.server_select: Rearrange dependencies between 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) Matthew Wild Thu, 03 May 2012 16:48:34 +0100