Log

net/server_event.lua @ 6964:ed5440a6ef7f

description author age
net.server_event: Return event handle from add_task so it can be closed by eg util.timer Kim Alvefur Sun, 22 Nov 2015 17:00:43 +0100
server_event: Remove needless scoping around add_task Kim Alvefur Fri, 25 Sep 2015 18:07:08 +0200
Merge 0.10->trunk Kim Alvefur Fri, 25 Sep 2015 18:03:44 +0200
server_event: Fix indentation Kim Alvefur Fri, 25 Sep 2015 17:56:21 +0200
server_event: Put function keyword on same line as the coroutine.wrap it's being passed to Kim Alvefur Fri, 25 Sep 2015 17:55:06 +0200
server_event: Normalize indentation Kim Alvefur Fri, 25 Sep 2015 17:43:21 +0200
server_event: Remove unused argument [luacheck] Kim Alvefur Fri, 25 Sep 2015 17:26:47 +0200
server_event: Comment out the unused vdebug function [luacheck] Kim Alvefur Fri, 25 Sep 2015 17:26:29 +0200
server_event: Remove unused former argument (fixes global access) [luacheck] Kim Alvefur Fri, 25 Sep 2015 17:24:43 +0200
server_event: Rename luaevent module variable to avoid name clash [luacheck] Kim Alvefur Fri, 25 Sep 2015 17:21:00 +0200
server_event: Add luacheck annotations Kim Alvefur Fri, 25 Sep 2015 17:25:46 +0200
server_event: Remove needless scoping and indentation Kim Alvefur Fri, 25 Sep 2015 17:12:55 +0200
server_event: Move local references to various functions to top of file Kim Alvefur Fri, 25 Sep 2015 17:02:17 +0200
server_event: Replace implementation of ordered set with a simple table set Kim Alvefur Fri, 25 Sep 2015 16:45:02 +0200
Merge 0.10->trunk Matthew Wild Thu, 03 Sep 2015 16:43:46 +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_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
Merge 0.10->trunk Kim Alvefur Thu, 20 Aug 2015 13:05:22 +0200
net.server_{select,event}: Don't rely on LuaSocket and LuaSec being present in the globals table Kim Alvefur Mon, 23 Feb 2015 12:04:43 +0100
Move timer code out of util.timer and into relevant net.server backends daurnimator Mon, 20 Oct 2014 16:13:24 -0400
Merge 0.10->trunk Kim Alvefur Tue, 02 Sep 2014 22:34:32 +0200
Merge 0.9->0.10 Kim Alvefur Tue, 02 Sep 2014 22:33:11 +0200
net.server_{select,event}: Add 'ondetach' callback for listener objects, to notify them when another listener is being assigned to a connection Matthew Wild Fri, 29 Aug 2014 11:39:56 +0100
Merge 0.10->trunk Matthew Wild Fri, 25 Jul 2014 13:54:47 +0100
Merge 0.9->0.10 Matthew Wild Fri, 25 Jul 2014 13:54:27 +0100
net.server_select/event: Switch sender mode to *a when reading, to make sure we get all available data Matthew Wild Fri, 25 Jul 2014 13:53:39 +0100
net/server_*: Fix addclient: LuaSocket 3.0-rc1 sometimes returns EALREADY instead of EINPROGRESS when the dns lookup has multiple results daurnimator Wed, 25 Jun 2014 12:15:00 -0400
Merge 0.10->trunk Matthew Wild Wed, 02 Apr 2014 17:42:22 +0100
Merge 0.9->0.10 Matthew Wild Wed, 02 Apr 2014 17:41:38 +0100
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