net.server_{select,event}: Add 'ondetach' callback for listener objects, to notify them when another listener is being assigned to a connection
|
Matthew Wild |
2014-08-29 |
Merge 0.10->trunk
|
Matthew Wild |
2014-07-25 |
Merge 0.9->0.10
|
Matthew Wild |
2014-07-25 |
net.server_select/event: Switch sender mode to *a when reading, to make sure we get all available data
|
Matthew Wild |
2014-07-25 |
net/server_*: Fix addclient: LuaSocket 3.0-rc1 sometimes returns EALREADY instead of EINPROGRESS when the dns lookup has multiple results
|
daurnimator |
2014-06-25 |
Merge 0.10->trunk
|
Matthew Wild |
2014-04-02 |
Merge 0.9->0.10
|
Matthew Wild |
2014-04-02 |
net.server_{select,event}: Add compat code for supporting the same client port API on connections
|
Kim Alvefur |
2014-04-01 |
Backed out changeset a5b5bce71a11
|
Kim Alvefur |
2014-03-31 |
net.server_event: Rename conn:port() -> conn:clientport() to match server_select
|
Kim Alvefur |
2014-03-27 |
net.server_{select,event}: addclient: Handle missing getaddrinfo
|
Kim Alvefur |
2013-12-23 |
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 |
2013-12-23 |
net.server_{select,event}: addclient: Add argument for overriding socket type
|
Kim Alvefur |
2013-12-23 |
net/server: addclient: wrapclient already calls startconnection for us
|
daurnimator |
2013-12-18 |
net/server_event: pcall require ssl rather than relying on globals
|
daurnimator |
2013-12-18 |
net/server_event: add_client should have same arguments no-matter the server backend
|
daurnimator |
2013-12-18 |
Remove all trailing whitespace
|
Florian Zeitz |
2013-08-09 |
Merge 0.9->trunk
|
Kim Alvefur |
2013-07-22 |
net.server_event: Pass ondrain handler from listener
|
Kim Alvefur |
2013-07-22 |
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 |
2013-05-24 |
net.server*: Allow the TCP backlog parameter to be set in the config
|
Kim Alvefur |
2013-04-27 |
net.server_event: Remove unused local
|
Kim Alvefur |
2013-03-01 |
net.server_event: Optimize socket write buffers (don't do buf=buf..newdata).
|
Waqas Hussain |
2013-01-05 |
net.server_event: Destroy interfaces immediately, fixes reopening of servers.
|
Kim Alvefur |
2012-12-28 |
net.server_event: Remove comments about not closing event handlers from within callbacks, fixed in luaevent
|
Kim Alvefur |
2012-12-28 |
net.server_event: Replace usage of string.len() with # operator
|
Matthew Wild |
2012-07-26 |
net.server_event: Don't emit empty packets, check for errors first. (fixes #287)
|
Kim Alvefur |
2012-07-25 |
net.server_event: Remove unused variables and imports
|
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_event: Internal changes to get plain-SSL outgoing connections working (as for HTTPS)
|
Matthew Wild |
2012-05-24 |
net.server_event: Assume wrapclient() is taking a new connection, and call onconnect when appropriate (to match server_select)
|
Matthew Wild |
2012-05-24 |
net.server_event: Do not automatically close clients when closing a server port
|
Matthew Wild |
2012-04-24 |
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 |
2012-01-16 |
net.server_event, net.server_select: Fixed some global pollution.
|
Waqas Hussain |
2011-10-13 |
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 |
2011-09-02 |
net.server_select, net.server_event: Silence 'error during ssl handshake' for wantread and wantwrite
|
Matthew Wild |
2011-01-11 |
net.server_event: Log interface and port number when binding fails
|
Matthew Wild |
2011-01-06 |
net.server_event: API parity with net.server_socket
|
Paul Aurich |
2010-11-22 |
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_event: Remove some debug messages
|
Matthew Wild |
2010-08-02 |
net.server_event: Fix to not call onconnect a second time after the SSL handshake for starttls connections (thanks Flo)
|
Matthew Wild |
2010-07-22 |
net.server_event: Remove debug logging from dummy onstatus handler
|
Matthew Wild |
2010-07-17 |
net.server_event: attemp to fix more spelling fail.
|
Waqas Hussain |
2010-06-11 |
net.server_event: Also return the socket from wrapclient, to maintain compatibility with server_select (thanks uhoreg)
|
Matthew Wild |
2010-06-02 |
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 |
net.server_event: Be sure to fire onincoming for backwards-compatibility with pre-onconnect listeners (thanks darkrain/mod_console)
|
Matthew Wild |
2010-05-05 |
net.server_event: Call listener.onconnect if it exists, otherwise stick to listener.onincoming
|
Matthew Wild |
2010-04-11 |
net.server_event: Fixed spelling fail.
|
Waqas Hussain |
2010-03-26 |
net.server_event: Don't re-try a write if the connection closed (thanks Flo)
|
Matthew Wild |
2010-03-25 |
net.server_event: Bump timeout values up somewhat
|
Matthew Wild |
2010-03-24 |
net.server_event: Fix some global accesses
|
Matthew Wild |
2010-03-01 |
net.server_event: Improve and fix potential traceback in logging of new incoming connections
|
Matthew Wild |
2010-03-01 |
net.server_event: Add lock_read() method to connections
|
Matthew Wild |
2010-02-25 |
net.server_event: Pass false as connection error to disconnect handler if close was initiated by us
|
Matthew Wild |
2010-02-18 |
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 |
2010-02-17 |
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 |
2010-02-14 |
net.server_event: Fix another instance of creating an SSL context - certmanager now does this
|
Matthew Wild |
2010-02-14 |