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 |
Backed out changeset a5b5bce71a11
|
Kim Alvefur |
Mon, 31 Mar 2014 19:38:06 +0200 |
net.server_event: Rename conn:port() -> conn:clientport() to match server_select
|
Kim Alvefur |
Thu, 27 Mar 2014 23:02:52 +0100 |
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: addclient: wrapclient already calls startconnection for us
|
daurnimator |
Wed, 18 Dec 2013 18:11:47 -0500 |
net/server_event: pcall require ssl rather than relying on globals
|
daurnimator |
Wed, 18 Dec 2013 18:11:17 -0500 |
net/server_event: add_client should have same arguments no-matter the server backend
|
daurnimator |
Wed, 18 Dec 2013 17:52:28 -0500 |
Remove all trailing whitespace
|
Florian Zeitz |
Fri, 09 Aug 2013 17:48:21 +0200 |
Merge 0.9->trunk
|
Kim Alvefur |
Mon, 22 Jul 2013 20:29:41 +0200 |
net.server_event: Pass ondrain handler from listener
|
Kim Alvefur |
Mon, 22 Jul 2013 18:17:30 +0200 |
net.server_event: Add support for listener.onreadtimeout(conn), which can return true to prevent the connection from being closed when a read timeout occurs
|
Matthew Wild |
Fri, 24 May 2013 14:46:16 +0100 |
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_event: Remove unused local
|
Kim Alvefur |
Fri, 01 Mar 2013 14:15:38 +0100 |
net.server_event: Optimize socket write buffers (don't do buf=buf..newdata).
|
Waqas Hussain |
Sun, 06 Jan 2013 04:55:53 +0500 |
net.server_event: Destroy interfaces immediately, fixes reopening of servers.
|
Kim Alvefur |
Fri, 28 Dec 2012 14:26:21 +0100 |
net.server_event: Remove comments about not closing event handlers from within callbacks, fixed in luaevent
|
Kim Alvefur |
Fri, 28 Dec 2012 14:25:11 +0100 |
net.server_event: Replace usage of string.len() with # operator
|
Matthew Wild |
Thu, 26 Jul 2012 16:46:18 +0100 |
net.server_event: Don't emit empty packets, check for errors first. (fixes #287)
|
Kim Alvefur |
Wed, 25 Jul 2012 20:33:20 +0200 |
net.server_event: Remove unused variables and imports
|
Matthew Wild |
Sun, 22 Jul 2012 23:45:53 +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_event: Internal changes to get plain-SSL outgoing connections working (as for HTTPS)
|
Matthew Wild |
Thu, 24 May 2012 03:33:14 +0100 |
net.server_event: Assume wrapclient() is taking a new connection, and call onconnect when appropriate (to match server_select)
|
Matthew Wild |
Thu, 24 May 2012 02:55:37 +0100 |
net.server_event: Do not automatically close clients when closing a server port
|
Matthew Wild |
Tue, 24 Apr 2012 15:52:30 +0100 |
net.server_event: Fix :pause() to actually stop reading from the socket, rather than ignoring socket-readable events (!), and :resume() to restart the event listener
|
Matthew Wild |
Mon, 16 Jan 2012 04:44:23 +0000 |
net.server_event, net.server_select: Fixed some global pollution.
|
Waqas Hussain |
Fri, 14 Oct 2011 00:46:29 +0500 |
net.server_event: Don't call listener.onincoming with data=nil when listener.onconnect is missing. onincoming's arguments shall always be non-nil.
|
Waqas Hussain |
Sat, 03 Sep 2011 02:42:50 +0500 |
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_event: Log interface and port number when binding fails
|
Matthew Wild |
Thu, 06 Jan 2011 13:47:20 +0000 |
net.server_event: API parity with net.server_socket
|
Paul Aurich |
Sun, 21 Nov 2010 21:02:31 -0800 |
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_event: Remove some debug messages
|
Matthew Wild |
Mon, 02 Aug 2010 09:21:14 +0100 |
net.server_event: Fix to not call onconnect a second time after the SSL handshake for starttls connections (thanks Flo)
|
Matthew Wild |
Thu, 22 Jul 2010 11:43:42 +0100 |
net.server_event: Remove debug logging from dummy onstatus handler
|
Matthew Wild |
Sat, 17 Jul 2010 15:17:02 +0100 |
net.server_event: attemp to fix more spelling fail.
|
Waqas Hussain |
Fri, 11 Jun 2010 20:35:10 +0500 |
net.server_event: Also return the socket from wrapclient, to maintain compatibility with server_select (thanks uhoreg)
|
Matthew Wild |
Wed, 02 Jun 2010 21:33:44 +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 |
net.server_select, net.server_event: Rename :pattern() method to :set_mode() for select backend, and add :set_mode() to event backend
|
Matthew Wild |
Wed, 05 May 2010 15:23:17 +0100 |
net.server_select, net.server_event: Support for :pause() and :resume() on connections
|
Matthew Wild |
Wed, 05 May 2010 15:21:17 +0100 |
net.server_event: Be sure to fire onincoming for backwards-compatibility with pre-onconnect listeners (thanks darkrain/mod_console)
|
Matthew Wild |
Wed, 05 May 2010 11:24:45 +0100 |
net.server_event: Call listener.onconnect if it exists, otherwise stick to listener.onincoming
|
Matthew Wild |
Sun, 11 Apr 2010 01:29:59 +0100 |
net.server_event: Fixed spelling fail.
|
Waqas Hussain |
Fri, 26 Mar 2010 08:24:29 +0500 |
net.server_event: Don't re-try a write if the connection closed (thanks Flo)
|
Matthew Wild |
Thu, 25 Mar 2010 12:32:25 +0000 |
net.server_event: Bump timeout values up somewhat
|
Matthew Wild |
Wed, 24 Mar 2010 22:46:57 +0000 |
net.server_event: Fix some global accesses
|
Matthew Wild |
Mon, 01 Mar 2010 18:46:37 +0000 |
net.server_event: Improve and fix potential traceback in logging of new incoming connections
|
Matthew Wild |
Mon, 01 Mar 2010 16:45:13 +0000 |
net.server_event: Add lock_read() method to connections
|
Matthew Wild |
Thu, 25 Feb 2010 02:01:00 +0000 |
net.server_event: Pass false as connection error to disconnect handler if close was initiated by us
|
Matthew Wild |
Thu, 18 Feb 2010 16:41:53 +0000 |
net.server_event: Increase SSL handshake timeout to 30s, make handshake round-trip count configurable, and bump connect timeout to 20s (thanks Flo)
|
Matthew Wild |
Wed, 17 Feb 2010 13:21:33 +0000 |
net.server_event: Fire onincoming() callback for new connections as opposed to the new onconnect() - let's change this for a future version though
|
Matthew Wild |
Sun, 14 Feb 2010 20:47:09 +0000 |
net.server_event: Fix another instance of creating an SSL context - certmanager now does this
|
Matthew Wild |
Sun, 14 Feb 2010 20:36:54 +0000 |
net.server_event: Fix traceback in creating SSL context
|
Matthew Wild |
Sun, 14 Feb 2010 20:15:17 +0000 |
net.server_event: Fixes for traceback with no LuaSec
|
Matthew Wild |
Thu, 11 Feb 2010 21:32:49 +0000 |
net.server_event: Update for compatibility with new server API
|
Matthew Wild |
Sun, 31 Jan 2010 19:58:52 +0000 |
net.server_event: Trailing whitespace
|
Matthew Wild |
Fri, 29 Jan 2010 16:49:43 +0000 |
net.server_event: Support :setlistener() method on connections to work with port multiplexing
|
Matthew Wild |
Fri, 29 Jan 2010 16:46:28 +0000 |
net.server_{select,event}: Fail gracefully if socket doesn't have a setoption method (LuaSec issue I think)
|
Matthew Wild |
Thu, 21 Jan 2010 12:56:08 +0000 |
net.server_event: Replace all calls to _start_ssl() to its bigger brother starttls() - fixes 5223 w/ libevent
|
Matthew Wild |
Thu, 21 Jan 2010 12:23:13 +0000 |