net/server.lua
Sat, 02 Mar 2024 13:40:37 +0100 Kim Alvefur net.server: Restore epoll signalfd handling
Fri, 01 Mar 2024 19:22:49 +0100 Kim Alvefur net.server: Disable epoll signalfd handling by default until problems resolved
Sat, 20 May 2023 20:44:20 +0200 Kim Alvefur net.server: Handle loading from outside Prosody (e.g. Verse)
Fri, 17 Mar 2023 16:23:12 +0100 Kim Alvefur net: Prefix module imports with prosody namespace
Sat, 02 Apr 2022 11:15:33 +0200 Jonas Schäfer net: refactor sslconfig to not depend on LuaSec
Fri, 03 Sep 2021 17:46:55 +0200 Kim Alvefur net.server_select: Deprecate and warn about it
Fri, 03 Sep 2021 17:39:00 +0200 Kim Alvefur net.server: Pikc server_epoll as unconditional default
Fri, 03 Sep 2021 17:35:34 +0200 Kim Alvefur net.server: Fall back to default backend from libevent instead of always select
Mon, 01 Jun 2020 13:43:35 +0100 Matthew Wild net.server: Switch to epoll backend by default
Sun, 19 Aug 2018 14:45:19 +0100 Matthew Wild net.server: Throw error when loading outside Prosody or Prosody config not loaded
Thu, 05 Apr 2018 15:58:08 +0200 Kim Alvefur net.server: Init a local logger (fixes traceback on attempt to warn about missing luaevent due to later loggingmanager initialization)
Thu, 29 Mar 2018 16:57:18 +0200 Kim Alvefur Backed out changeset a0f728c3aa69 in favor of 580c13ed0ca1
Fri, 23 Mar 2018 18:02:37 +0100 Kim Alvefur net.server: Try to require configmanager instead checking for the prosody global which does not yet exist when net.server is loaded now
Wed, 10 Aug 2016 16:52:26 +0200 Kim Alvefur net.server: Monkey-patch in a fallback get_backend method if missing
Wed, 10 Aug 2016 16:51:38 +0200 Kim Alvefur net.server: Allow arbitrary network backends to be configured
Wed, 10 Aug 2016 16:50:13 +0200 Kim Alvefur net.server: Only update configuration if server backend supports changing settings
Wed, 10 Aug 2016 16:44:59 +0200 Kim Alvefur net.server: Fix whitespace
Fri, 22 Jan 2016 15:03:02 +0100 Kim Alvefur Merge 0.10->trunk
Fri, 22 Jan 2016 14:49:05 +0100 Kim Alvefur Merge 0.9->0.10
Fri, 22 Jan 2016 01:59:25 +0100 Kim Alvefur server_select: Retry accepting clients from full servers after 10s (matches libevent behaviour)
Wed, 22 Oct 2014 16:00:40 -0400 daurnimator net/server: Handle lack of util.signal correctly
Wed, 22 Oct 2014 15:59:51 -0400 daurnimator net/server: Remove print
Wed, 22 Oct 2014 12:56:41 +0100 Matthew Wild net.server: Rename 'server' config option to 'network_backend' (to select which net.server implementation to use)
Tue, 21 Oct 2014 17:26:48 -0400 daurnimator net/server: If server.hook_signal exists, overwrite signal.signal; else make server.hook_signal == signal.signal
Fri, 17 Oct 2014 17:30:21 -0400 daurnimator net/server: Split up different backends in a nicer way. Add global config option 'server'
Fri, 09 Aug 2013 17:48:21 +0200 Florian Zeitz Remove all trailing whitespace
Sat, 27 Apr 2013 22:46:01 +0200 Kim Alvefur net.server*: Allow the TCP backlog parameter to be set in the config
Sat, 23 Mar 2013 20:06:02 +0100 Kim Alvefur net.server, _select: Reorganise configuration of server_select to be more like server_event
Sat, 23 Mar 2013 15:00:22 +0100 Kim Alvefur net.server: No sections in config anymore
Sat, 29 Dec 2012 19:09:23 +0100 Kim Alvefur net.server: Don't return anything from config-reloaded hook, fixes logrotate heisenbug
Fri, 23 Nov 2012 17:16:22 +0100 Kim Alvefur net.server: Fix when no network_settings set and using libevent
Fri, 23 Nov 2012 01:51:30 +0100 Kim Alvefur net.server: Make server_* configurable in the config file.
Thu, 03 May 2012 18:53:36 +0100 Matthew Wild net.server: server_select != server_event (thanks Nulani, Florob)
Thu, 03 May 2012 16:48:34 +0100 Matthew Wild 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)
Mon, 23 Aug 2010 01:06:13 +0100 Matthew Wild net.server: Don't load configmanager if not running inside Prosody, assume server_select
Fri, 09 Apr 2010 12:31:51 +0100 Matthew Wild Merge 0.6->0.7
Fri, 09 Apr 2010 12:25:54 +0100 Matthew Wild net.server: Fix logic error causing traceback when receiving a non-number port
Mon, 22 Mar 2010 17:24:55 +0000 Matthew Wild Merge 0.6->0.7
Mon, 22 Mar 2010 17:06:15 +0000 Matthew Wild Update copyright headers for 2010
Thu, 03 Dec 2009 19:18:18 +0000 Matthew Wild net.server_select: Restore checks for wantread/timeout errors on receive
Thu, 03 Dec 2009 14:08:54 +0000 Matthew Wild net.server_select: Make bufferlen() method return, of all things, the buffer length
Thu, 03 Dec 2009 02:28:34 +0000 Matthew Wild net.server_select: Fix possibility of losing data sent from a socket just before it closes (thanks Sjoerd Simons)
Mon, 15 Feb 2010 22:53:32 +0000 Matthew Wild net.server: Remove redundant commented code and some trailing whitespace
Sun, 10 Jan 2010 15:26:36 +0000 Matthew Wild net.server: When libevent backend is in use, override signal.signal to use server.hook_signal
Sun, 29 Nov 2009 21:33:37 +0100 Tobias Markmann Merge with tip.
Tue, 24 Nov 2009 14:37:14 +0500 Waqas Hussain net.server: Log an error when libevent is requested, but luaevent is unavailable, and don't load luaevent when not requested.
Sun, 22 Nov 2009 14:42:56 +0000 Matthew Wild net.server: Add some comments to explain to waqas how it all works :)
Sat, 21 Nov 2009 17:13:21 +0000 Matthew Wild net.server: Small fix for addtimer() compatibility code
Sat, 21 Nov 2009 02:39:08 +0000 Matthew Wild 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
Mon, 26 Oct 2009 23:35:48 +0000 Matthew Wild server.lua: Standardise on 'client' variable to refer to the socket, makes the code a bit cleaner
Mon, 26 Oct 2009 23:29:04 +0000 Matthew Wild 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?
Sat, 17 Oct 2009 16:21:27 +0100 Matthew Wild net.server: Allow changing the sslctx of a connection after it has been established
Wed, 14 Oct 2009 14:12:14 +0100 Matthew Wild Merge with 0.5
Wed, 14 Oct 2009 14:09:51 +0100 Matthew Wild net.server: Better handling of closing sockets during send
Sun, 04 Oct 2009 16:05:11 +0100 Matthew Wild net.server: Small logging improvements
Sun, 04 Oct 2009 16:04:33 +0100 Matthew Wild net.server: Pass current time to timer callbacks
Sun, 04 Oct 2009 16:03:53 +0100 Matthew Wild net.server: Increase SSL handshake round-trip limit, and make it configurable
Sun, 04 Oct 2009 15:58:21 +0100 Matthew Wild net.server: Call handler's status() to notify it of ssl handshake success
Sun, 04 Oct 2009 15:56:55 +0100 Matthew Wild net.server: Provide a way to get sslctx of a client connection
Sun, 04 Oct 2009 15:56:27 +0100 Matthew Wild net.server: Provide a way to get sslctx of a server
Fri, 02 Oct 2009 21:24:16 +0100 Matthew Wild Merge with 0.5
Fri, 02 Oct 2009 21:20:53 +0100 Matthew Wild net.server: Fix missing concatenation operator in error message
Mon, 21 Sep 2009 14:42:29 +0100 Matthew Wild Merge with 0.5
Mon, 21 Sep 2009 13:53:59 +0100 Matthew Wild net.server: Fix traceback when closing connections with buffered data get closed during send
Fri, 18 Sep 2009 02:48:52 +0100 Matthew Wild Merge with 0.5
Tue, 18 Aug 2009 15:58:44 +0100 Matthew Wild net.server: Add checking for nil sockets to prevent traceback
Tue, 18 Aug 2009 15:58:44 +0100 Matthew Wild net.server: Add checking for nil sockets to prevent traceback
Sun, 16 Aug 2009 21:32:10 +0100 Matthew Wild 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.
Tue, 28 Jul 2009 14:48:37 +0100 Matthew Wild net.server: Much improve SSL/TLS error reporting, do our best to understand and hide OpenSSL's ridiculously unfriendly error messages
Thu, 23 Jul 2009 12:01:00 +0100 Matthias Diene net.server: Fail to open port if legacy SSL requested, but SSL not available
Thu, 23 Jul 2009 03:06:49 +0100 Matthew Wild net.server: Remove listener from listeners table when calling removeserver
Thu, 23 Jul 2009 01:57:09 +0100 Matthew Wild net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap clients with a broken context
Thu, 23 Jul 2009 01:29:41 +0100 Matthias Diener net.server: Continue to initialise port listener even when SSL errors occur
Mon, 13 Jul 2009 21:17:51 +0100 Matthew Wild net.server: Initiate the handshake when we should, the more correcter fix for the previous correct fix
Sun, 12 Jul 2009 20:32:38 +0100 Matthew Wild net.server: Fix copyright header line endings and text
Sun, 12 Jul 2009 20:25:02 +0100 Matthew Wild net.server: Correct fix for SSL traceback earlier
Sun, 12 Jul 2009 15:18:53 +0100 Matthew Wild net.server: Don't continue with socket initialisation if SSL handshake failed, fixes nil socket traceback
Sun, 12 Jul 2009 14:29:42 +0100 Matthew Wild net.server: Don't close handler if it is already nil when SSL handshake fails
Fri, 10 Jul 2009 03:08:38 +0100 Matthew Wild Add copyright header to those files missing one
Thu, 04 Jun 2009 15:22:04 +0100 Matthew Wild net.server: Display server port in error messages
Fri, 29 May 2009 14:30:40 +0100 Matthew Wild net.server: A connection is not secure if we delay the TLS handshake
Sun, 03 May 2009 01:11:21 +0100 Matthew Wild Merge with 0.4
Sun, 03 May 2009 01:09:57 +0100 Matthew Wild net.server: Add getserver() method to find the server listening on the specified port
Wed, 22 Apr 2009 20:33:24 +0100 Matthew Wild net.server: Fix global access/incorrect parameter
Wed, 22 Apr 2009 20:19:33 +0100 Matthew Wild net.server: Fix incorrect parameter passing
Wed, 22 Apr 2009 20:19:04 +0100 Matthew Wild net.server: Fix global access
Fri, 17 Apr 2009 16:11:11 +0100 Matthew Wild net.server: Fix potential nil handler usage
Sun, 12 Apr 2009 17:03:34 +0100 Matthew Wild net.server: Simple logging fix
Sun, 12 Apr 2009 03:06:22 +0100 Matthew Wild net.server: Remove some debug code which slipped through
Sun, 12 Apr 2009 02:54:45 +0100 Matthew Wild net.server: Add server.setquitting() to gracefully quit the socket loop
Wed, 08 Apr 2009 11:22:03 +0100 Matthew Wild net.server: Ensure some logging parameters are strings
Sat, 07 Mar 2009 19:56:53 +0000 Matthew Wild net.server: Allow replacement of send function on an open socket
Wed, 04 Mar 2009 12:44:07 +0000 Matthew Wild net.server: Don't call shutdown method on socket if it doesn't have one, eg. for UDP
Tue, 03 Mar 2009 20:12:31 +0000 Matthew Wild net.server: Check for potential nil handler on close
Mon, 02 Mar 2009 19:49:09 +0000 Matthew Wild net.server: Fix to make sure we send a string to logging function
Sun, 01 Mar 2009 23:33:41 +0000 Matthew Wild net.server: Don't retry if client closes socket during SSL handshaking
Fri, 27 Feb 2009 18:40:17 +0000 Matthew Wild net.server: Some fixes for SSL/TLS handshake handling
Wed, 18 Feb 2009 19:23:29 +0000 Matthew Wild net.server: Fix some more potential nil handler accesses
Mon, 09 Feb 2009 14:24:49 +0000 Matthew Wild net.server: Fix nil table index assignment
Mon, 09 Feb 2009 13:41:05 +0000 Matthew Wild net.server: Fix potential fatal error in server.lua
Wed, 04 Feb 2009 18:53:56 +0000 Matthew Wild Fix for nil handler error after close
Sat, 17 Jan 2009 14:57:21 +0000 Matthew Wild server.lua: Comment out unnecessary or very verbose logging, and log the rest as debug level
Sat, 17 Jan 2009 14:53:20 +0000 Matthew Wild server.lua: Use Prosody logger for errors, silence non-errors
Sat, 17 Jan 2009 04:45:08 +0000 Matthew Wild Port to new server.lua, quite some changes, but I believe everything to be working
Fri, 16 Jan 2009 05:36:39 +0000 Matthew Wild Fixed server.lua to use prosody logger for errors
Sat, 27 Dec 2008 21:22:49 +0000 Matthew Wild Remove some debugging code that slipped in
Sat, 27 Dec 2008 21:20:09 +0000 Matthew Wild Fix specifying ports in config, and SSL support
Sat, 27 Dec 2008 21:18:12 +0000 Matthew Wild Remove logging for server.lua
Thu, 18 Dec 2008 20:01:09 +0000 Matthew Wild Fix data loss when closing connection with a large write queue. Thanks albert :)
Sat, 13 Dec 2008 14:30:59 +0000 Matthew Wild Make wraptcpclient set timeout to 0, and add it to the list of exported functions from server.lua
Sat, 06 Dec 2008 23:12:46 +0000 Matthew Wild Remove old commented code from server.lua
Fri, 05 Dec 2008 19:55:46 +0000 Matthew Wild Re-commit TLS fix
Fri, 05 Dec 2008 19:50:34 +0000 Matthew Wild Merge
Fri, 05 Dec 2008 19:49:16 +0000 Matthew Wild Backed out changeset 099d8a102deb (committed too much)
Fri, 05 Dec 2008 19:40:46 +0000 Matthew Wild Don't say we need TLS after we've already started the handshake
Fri, 05 Dec 2008 19:24:01 +0000 Matthew Wild Add TLS socket to readlist before handshake starts, fixes major slow-down on TLS connections
Fri, 05 Dec 2008 19:22:34 +0000 Matthew Wild Comment out debug logging for now
Fri, 05 Dec 2008 19:21:44 +0000 Matthew Wild Remove linger option on sockets, made no difference, and I forgot to remove it earlier
Wed, 03 Dec 2008 16:44:03 +0000 Matthew Wild Fix GPL'ing MIT/X licensed code :)
Wed, 03 Dec 2008 14:39:07 +0000 Matthew Wild Insert copyright/license headers
less more (0) -120 tip