Log

net/server_select.lua @ 4414:aa2e79f20962

description author age
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
net.server_select: Do not set 'ssl' flag simply when assigning an sslctx to a handler, it doesn't mean anything Matthew Wild Sat, 20 Aug 2011 14:59:31 -0400
connlistener, server_select, prosody: Add support for binding to multiple addresses Florian Zeitz Wed, 15 Jun 2011 23:44:18 +0200
net.server_select: Expose step() function (thanks Łukasz) Matthew Wild Mon, 14 Feb 2011 19:12:16 +0000
net.server_select, net.server_event: Silence 'error during ssl handshake' for wantread and wantwrite Matthew Wild Tue, 11 Jan 2011 05:04:08 +0000
net/server_select.lua: Reduce select() timeout back to 1s Matthew Wild Sat, 18 Dec 2010 14:46:28 +0000
net.server_select: Set select() timeout to 3600 by default. Waqas Hussain Thu, 02 Dec 2010 23:07:45 +0500
net.server_select: Made another global local. Waqas Hussain Thu, 02 Dec 2010 23:06:30 +0500
net.server_select: Made some globals local. Waqas Hussain Thu, 02 Dec 2010 22:55:42 +0500
net.server_select: Make changes required for sub-second timer precision. Waqas Hussain Thu, 02 Dec 2010 22:40:42 +0500
net.server_select: Restore real sendbuffer() before calling onconnect handler, in case onconnect sends data and the socket is still writeable (causing stack overflow into sendbuffer()/onconnect()) Matthew Wild Fri, 22 Oct 2010 06:33:30 +0100
net.server_select: Add server.step() to run through a single iteration of the event loop Matthew Wild Thu, 09 Sep 2010 20:10:28 +0100
net.server_select, net.server_event: Remove set_mode() call from server.link()... it can cause the last chunk of data to be discarded if shorter than buffersize (thanks to Zash for the debugging) Matthew Wild Sun, 22 Aug 2010 21:12:22 +0100
net.server_select: Remove 'now' parameter from starttls(), and base it on whether the sendbuffer is empty instead Matthew Wild Thu, 22 Jul 2010 13:19:37 +0100
net.server_select: Ensure that onconnect is called for server sockets as well as clients, rather than onincoming. Fixes mod_console traceback, issue #197 Matthew Wild Fri, 16 Jul 2010 22:28:50 +0100
Merge 0.7->trunk Matthew Wild Fri, 02 Jul 2010 17:44:14 +0100
net.server_select: Clean up buffer and fire drained callback on successful write before we try and start TLS negotiation (if negotiation fails instantly then we can be left without a handler to use for cleanup) (thanks dersd) Matthew Wild Fri, 02 Jul 2010 17:24:40 +0100
net.server_select: Fix a snippet of code that was living at the wrong indentation level Matthew Wild Fri, 02 Jul 2010 17:23:17 +0100
net.server_select: Remove some debugging code. Waqas Hussain Thu, 06 May 2010 23:16:50 +0500
Merge 0.7->trunk Matthew Wild Wed, 05 May 2010 17:22:43 +0100
net.server_select: Fix typo affecting connections with an onconnect listener that have data pending in the sendbuffer Matthew Wild Wed, 05 May 2010 17:12:32 +0100
Merge 0.7->trunk Matthew Wild Wed, 05 May 2010 15:33:58 +0100
net.server_select, net.server_event: Add server.link() to link 2 connections with an intermediate buffer of the specified size Matthew Wild Wed, 05 May 2010 15:25:48 +0100
net.server_select, net.server_event: Support for ondrain listener callback for when send buffer is empty Matthew Wild Wed, 05 May 2010 15:24:24 +0100