Log

net/server_select.lua @ 5642:5862bb57a3f1

description author age
net.server_select: Ensure _maxfd = math.huge on Windows, always. Waqas Hussain 2013-06-02
net.server_select: Default checkinterval to 30s, so that read timeouts are actually detected Matthew Wild 2013-05-24
net.server_select: Support for listener.onreadtimeout() [see also e67891ad18d6] Matthew Wild 2013-05-24
net.server_select: Don't limit max file descriptor number on Windows. Waqas Hussain 2013-04-29
net.server*: Allow the TCP backlog parameter to be set in the config Kim Alvefur 2013-04-27
net.server_select: Don't call onconnect twice for SSL connections Matthew Wild 2013-04-17
Merge backout Matthew Wild 2013-04-17
Backed out changeset f2631a14b953 Matthew Wild 2013-04-17
net.server_select: Add and improve some comments. Waqas Hussain 2013-04-16
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 2013-04-16
net.server_select: Normalize indentation Kim Alvefur 2013-04-17
net.server_select: Don't call onconnect twice on SSL connections Kim Alvefur 2013-04-17
net.server, _select: Reorganise configuration of server_select to be more like server_event Kim Alvefur 2013-03-23
net.server_select: Optimization, clean bufferqueue when it makes sense. Kim Alvefur 2013-03-01
net.server_select: Use # operator instead of string.len Kim Alvefur 2013-03-01
net.server_select: Limit global number of sockets passed to select. Kim Alvefur 2013-02-12
net.server_select: Be less aggressive about server pause Kim Alvefur 2013-02-12
net.server_select: Remove useless duplicated settimeout() call Kim Alvefur 2013-01-07
net.server_select: Fix global access Kim Alvefur 2013-01-07
net.server_select: Pause servers while they are full Kim Alvefur 2012-12-28
net.server_select: Add pause and resume methods Kim Alvefur 2012-12-28
net.server_select: Better names for config options (thanks MattJ) Kim Alvefur 2012-11-23
net.server_select: Remove unused variables and imports Matthew Wild 2012-07-22
net.server_select: Remove extraneous variable Matthew Wild 2012-07-22
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 2012-07-22
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 2012-07-22
net.server_select: Don't close client connections when closing a server (it wasn't working anyway) Matthew Wild 2012-05-23
net.server_select: Call ondisconnect handler, even if we closed the socket ourselves (fixes HTTP session hoarding, thanks Maranda) Matthew Wild 2012-05-23
net.server_select: Return error when SSL handshake fails immediately (thanks Zash) Matthew Wild 2012-05-17
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 2012-05-03
net.server_select: Remove server from _server table when closing Matthew Wild 2012-04-24
net.server_select: Autostart SSL negotiation as the last part of socket setup to avoid a traceback (#262) (thanks Maranda) Matthew Wild 2011-11-28
net.server_event, net.server_select: Fixed some global pollution. Waqas Hussain 2011-10-13
net.server_select: Minor whitespace fix. Waqas Hussain 2011-10-12
net.server_select: Never call onincoming with nil data when a listener doesn't have an onconnect handler Matthew Wild 2011-09-27
net.server_select: Remove socket from sendlist before calling listener callbacks (thanks darkrain) Matthew Wild 2011-08-20
net.server_select: Merge straight-SSL and starttls code paths, also fixes onconnect being called before handshake completion for straight-SSL Matthew Wild 2011-08-20
net.server_select: Update error logging logic during SSL handshake (now shows correctly when a handshake exceeded max. allowed iterations) Matthew Wild 2011-08-20
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 2011-08-20
net.server_select: Do not set 'ssl' flag simply when assigning an sslctx to a handler, it doesn't mean anything Matthew Wild 2011-08-20
connlistener, server_select, prosody: Add support for binding to multiple addresses Florian Zeitz 2011-06-15
net.server_select: Expose step() function (thanks Łukasz) Matthew Wild 2011-02-14
net.server_select, net.server_event: Silence 'error during ssl handshake' for wantread and wantwrite Matthew Wild 2011-01-11
net/server_select.lua: Reduce select() timeout back to 1s Matthew Wild 2010-12-18
net.server_select: Set select() timeout to 3600 by default. Waqas Hussain 2010-12-02
net.server_select: Made another global local. Waqas Hussain 2010-12-02
net.server_select: Made some globals local. Waqas Hussain 2010-12-02
net.server_select: Make changes required for sub-second timer precision. Waqas Hussain 2010-12-02
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 2010-10-22
net.server_select: Add server.step() to run through a single iteration of the event loop Matthew Wild 2010-09-09
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 2010-08-22
net.server_select: Remove 'now' parameter from starttls(), and base it on whether the sendbuffer is empty instead Matthew Wild 2010-07-22
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 2010-07-16
Merge 0.7->trunk Matthew Wild 2010-07-02
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 2010-07-02
net.server_select: Fix a snippet of code that was living at the wrong indentation level Matthew Wild 2010-07-02
net.server_select: Remove some debugging code. Waqas Hussain 2010-05-06
Merge 0.7->trunk Matthew Wild 2010-05-05
net.server_select: Fix typo affecting connections with an onconnect listener that have data pending in the sendbuffer Matthew Wild 2010-05-05
Merge 0.7->trunk Matthew Wild 2010-05-05
net.server_select, net.server_event: Add server.link() to link 2 connections with an intermediate buffer of the specified size Matthew Wild 2010-05-05
net.server_select, net.server_event: Support for ondrain listener callback for when send buffer is empty Matthew Wild 2010-05-05
net.server_select, net.server_event: Rename :pattern() method to :set_mode() for select backend, and add :set_mode() to event backend Matthew Wild 2010-05-05
net.server_select, net.server_event: Support for :pause() and :resume() on connections Matthew Wild 2010-05-05
Merge Tobias's fancy SASL branch->trunk Matthew Wild 2010-05-05
Merge with tip. Tobias Markmann 2010-03-12
util.sasl: 2009 -> 2010 in copyright header. Tobias Markmann 2010-03-12
net.server_select: Support for listener.onconnect Matthew Wild 2010-04-11
Merge 0.6->0.7 base net/server.lua@9aac5922d2ce Matthew Wild 2010-04-09
Merge 0.6->0.7 base net/server.lua@fc8a03e520c7 Matthew Wild 2010-03-22
net.server_select: Fix for traceback when a read returns an error and no data (thanks dersd) Matthew Wild 2010-03-05
net.server_select: Fix typo Matthew Wild 2010-03-01
net.server_select: Fix calling method of some handler.close()s Matthew Wild 2010-03-01
net.server_select: Small indentation fix Matthew Wild 2010-02-11
net.server_select: Fix traceback with no LuaSec available (thanks Nolan) Matthew Wild 2010-02-11
net.server_select: Only allow starttls if luasec is available (thanks Nolan) Matthew Wild 2010-02-10
net.server_select: *Major* whitespace refactoring to meet Prosody's coding style guidelines, we now have tabs Matthew Wild 2010-02-10
net.server_select: listener.status -> listener.onstatus for consistency Matthew Wild 2010-01-31
net.server_select: Report whether a new listener uses SSL or not in the log message Matthew Wild 2010-01-31
net.server_select: Remove startssl parameter to the client/server creation functions - passing a sslctx now indicates you want to use SSL from the start Matthew Wild 2010-01-31
net.server_{select,event}: Fail gracefully if socket doesn't have a setoption method (LuaSec issue I think) Matthew Wild 2010-01-21
net.server_select: Add conn:setoption() to set options on the socket Matthew Wild 2010-01-12
net.server_select: Fix oops in last commit Matthew Wild 2010-01-06
net.server_select: Allow setting the logger using server.setlogger Matthew Wild 2010-01-06
net.server_select: Add get_backend() method Matthew Wild 2009-12-08
net.server_select, net.server_event: Convert to unix line endings from Windows Matthew Wild 2009-12-04
net.server_select: Restore checks for wantread/timeout errors on receive Matthew Wild 2009-12-03
net.server_select: Add a function to just lock a stream for reading Sjoerd Simons 2009-12-03
net.server_select: Make bufferlen() method return, of all things, the buffer length Matthew Wild 2009-12-03
net.server_select: Fix possibility of losing data sent from a socket just before it closes (thanks Sjoerd Simons) Matthew Wild 2009-12-03
net.server_select: Update conn.close() to use new connection method convention Matthew Wild 2009-11-28
net.server_select: Rename server.setsend() to server.set_send() for consistency Matthew Wild 2009-11-26
net.server_select: Bring up to date to new common connection API Matthew Wild 2009-11-22
net.server_select: Change addserver() parameters to be compatible with new standard syntax Matthew Wild 2009-11-21
net.server: Rename to net.server_select base net/server.lua@5451ab3dc03c Matthew Wild 2009-11-21