Log

net/server.lua @ 9586:44dbee2f173f

description author age
net.server: Throw error when loading outside Prosody or Prosody config not loaded Matthew Wild Sun, 19 Aug 2018 14:45:19 +0100
net.server: Init a local logger (fixes traceback on attempt to warn about missing luaevent due to later loggingmanager initialization) Kim Alvefur Thu, 05 Apr 2018 15:58:08 +0200
Backed out changeset a0f728c3aa69 in favor of 580c13ed0ca1 Kim Alvefur Thu, 29 Mar 2018 16:57:18 +0200
net.server: Try to require configmanager instead checking for the prosody global which does not yet exist when net.server is loaded now Kim Alvefur Fri, 23 Mar 2018 18:02:37 +0100
net.server: Monkey-patch in a fallback get_backend method if missing Kim Alvefur Wed, 10 Aug 2016 16:52:26 +0200
net.server: Allow arbitrary network backends to be configured Kim Alvefur Wed, 10 Aug 2016 16:51:38 +0200
net.server: Only update configuration if server backend supports changing settings Kim Alvefur Wed, 10 Aug 2016 16:50:13 +0200
net.server: Fix whitespace Kim Alvefur Wed, 10 Aug 2016 16:44:59 +0200
Merge 0.10->trunk Kim Alvefur Fri, 22 Jan 2016 15:03:02 +0100
Merge 0.9->0.10 Kim Alvefur Fri, 22 Jan 2016 14:49:05 +0100
server_select: Retry accepting clients from full servers after 10s (matches libevent behaviour) Kim Alvefur Fri, 22 Jan 2016 01:59:25 +0100
net/server: Handle lack of util.signal correctly daurnimator Wed, 22 Oct 2014 16:00:40 -0400
net/server: Remove print daurnimator Wed, 22 Oct 2014 15:59:51 -0400
net.server: Rename 'server' config option to 'network_backend' (to select which net.server implementation to use) Matthew Wild Wed, 22 Oct 2014 12:56:41 +0100
net/server: If server.hook_signal exists, overwrite signal.signal; else make server.hook_signal == signal.signal daurnimator Tue, 21 Oct 2014 17:26:48 -0400
net/server: Split up different backends in a nicer way. Add global config option 'server' daurnimator Fri, 17 Oct 2014 17:30:21 -0400
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
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, _select: Reorganise configuration of server_select to be more like server_event Kim Alvefur Sat, 23 Mar 2013 20:06:02 +0100
net.server: No sections in config anymore Kim Alvefur Sat, 23 Mar 2013 15:00:22 +0100
net.server: Don't return anything from config-reloaded hook, fixes logrotate heisenbug Kim Alvefur Sat, 29 Dec 2012 19:09:23 +0100
net.server: Fix when no network_settings set and using libevent Kim Alvefur Fri, 23 Nov 2012 17:16:22 +0100
net.server: Make server_* configurable in the config file. Kim Alvefur Fri, 23 Nov 2012 01:51:30 +0100
net.server: server_select != server_event (thanks Nulani, Florob) Matthew Wild Thu, 03 May 2012 18:53:36 +0100
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 Thu, 03 May 2012 16:48:34 +0100
net.server: Don't load configmanager if not running inside Prosody, assume server_select Matthew Wild Mon, 23 Aug 2010 01:06:13 +0100
Merge 0.6->0.7 Matthew Wild Fri, 09 Apr 2010 12:31:51 +0100
net.server: Fix logic error causing traceback when receiving a non-number port Matthew Wild Fri, 09 Apr 2010 12:25:54 +0100
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
net.server_select: Restore checks for wantread/timeout errors on receive Matthew Wild Thu, 03 Dec 2009 19:18:18 +0000
net.server_select: Make bufferlen() method return, of all things, the buffer length Matthew Wild Thu, 03 Dec 2009 14:08:54 +0000
net.server_select: Fix possibility of losing data sent from a socket just before it closes (thanks Sjoerd Simons) Matthew Wild Thu, 03 Dec 2009 02:28:34 +0000
net.server: Remove redundant commented code and some trailing whitespace Matthew Wild Mon, 15 Feb 2010 22:53:32 +0000
net.server: When libevent backend is in use, override signal.signal to use server.hook_signal Matthew Wild Sun, 10 Jan 2010 15:26:36 +0000
Merge with tip. Tobias Markmann Sun, 29 Nov 2009 21:33:37 +0100
net.server: Log an error when libevent is requested, but luaevent is unavailable, and don't load luaevent when not requested. Waqas Hussain Tue, 24 Nov 2009 14:37:14 +0500
net.server: Add some comments to explain to waqas how it all works :) Matthew Wild Sun, 22 Nov 2009 14:42:56 +0000
net.server: Small fix for addtimer() compatibility code Matthew Wild Sat, 21 Nov 2009 17:13:21 +0000
net.server: New net.server to choose the appropriate library from server_select/server_event based on the availability of luaevent and the use_libevent config option Matthew Wild Sat, 21 Nov 2009 02:39:08 +0000
server.lua: Standardise on 'client' variable to refer to the socket, makes the code a bit cleaner Matthew Wild Mon, 26 Oct 2009 23:35:48 +0000
server.lua: Add addsocket(), refactor all code to use it, fixes nasty socket object leak - moral of the story is to not duplicate code, and not prematurely optimise. But you knew that already didn't you? Matthew Wild Mon, 26 Oct 2009 23:29:04 +0000
net.server: Allow changing the sslctx of a connection after it has been established Matthew Wild Sat, 17 Oct 2009 16:21:27 +0100
Merge with 0.5 Matthew Wild Wed, 14 Oct 2009 14:12:14 +0100
net.server: Better handling of closing sockets during send Matthew Wild Wed, 14 Oct 2009 14:09:51 +0100
net.server: Small logging improvements Matthew Wild Sun, 04 Oct 2009 16:05:11 +0100
net.server: Pass current time to timer callbacks Matthew Wild Sun, 04 Oct 2009 16:04:33 +0100
net.server: Increase SSL handshake round-trip limit, and make it configurable Matthew Wild Sun, 04 Oct 2009 16:03:53 +0100
net.server: Call handler's status() to notify it of ssl handshake success Matthew Wild Sun, 04 Oct 2009 15:58:21 +0100
net.server: Provide a way to get sslctx of a client connection Matthew Wild Sun, 04 Oct 2009 15:56:55 +0100
net.server: Provide a way to get sslctx of a server Matthew Wild Sun, 04 Oct 2009 15:56:27 +0100
Merge with 0.5 Matthew Wild Fri, 02 Oct 2009 21:24:16 +0100
net.server: Fix missing concatenation operator in error message Matthew Wild Fri, 02 Oct 2009 21:20:53 +0100
Merge with 0.5 Matthew Wild Mon, 21 Sep 2009 14:42:29 +0100
net.server: Fix traceback when closing connections with buffered data get closed during send Matthew Wild Mon, 21 Sep 2009 13:53:59 +0100
Merge with 0.5 Matthew Wild Fri, 18 Sep 2009 02:48:52 +0100
net.server: Add checking for nil sockets to prevent traceback Matthew Wild Tue, 18 Aug 2009 15:58:44 +0100
net.server: Add checking for nil sockets to prevent traceback Matthew Wild Tue, 18 Aug 2009 15:58:44 +0100
net.server: Comment all calls to mem_free/collectgarbage... not really suitable for a realtime server, let's trust Lua's GC - it's good. Matthew Wild Sun, 16 Aug 2009 21:32:10 +0100
net.server: Much improve SSL/TLS error reporting, do our best to understand and hide OpenSSL's ridiculously unfriendly error messages Matthew Wild Tue, 28 Jul 2009 14:48:37 +0100