Log

net/server_select.lua @ 4980:2e35cfe11835

description author age
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
net.server_select: Remove server from _server table when closing Matthew Wild Tue, 24 Apr 2012 15:42:35 +0100
net.server_select: Autostart SSL negotiation as the last part of socket setup to avoid a traceback (#262) (thanks Maranda) Matthew Wild Mon, 28 Nov 2011 03:04:50 +0000
net.server_event, net.server_select: Fixed some global pollution. Waqas Hussain Fri, 14 Oct 2011 00:46:29 +0500
net.server_select: Minor whitespace fix. Waqas Hussain Thu, 13 Oct 2011 00:11:17 +0500
net.server_select: Never call onincoming with nil data when a listener doesn't have an onconnect handler Matthew Wild Tue, 27 Sep 2011 17:28:56 +0100
net.server_select: Remove socket from sendlist before calling listener callbacks (thanks darkrain) Matthew Wild Sat, 20 Aug 2011 16:14:07 -0400
net.server_select: Merge straight-SSL and starttls code paths, also fixes onconnect being called before handshake completion for straight-SSL Matthew Wild Sat, 20 Aug 2011 15:06:14 -0400
net.server_select: Update error logging logic during SSL handshake (now shows correctly when a handshake exceeded max. allowed iterations) Matthew Wild Sat, 20 Aug 2011 15:04:17 -0400
net.server_select: Small fix to SSL handshake logic, read/wrote were being checked despite it not being possible for them to be other than nil Matthew Wild Sat, 20 Aug 2011 15:03:16 -0400