Log

net/server.lua @ 9548:a83afc22e9d7

description author age
net.server: Throw error when loading outside Prosody or Prosody config not loaded Matthew Wild 2018-08-19
net.server: Init a local logger (fixes traceback on attempt to warn about missing luaevent due to later loggingmanager initialization) Kim Alvefur 2018-04-05
Backed out changeset a0f728c3aa69 in favor of 580c13ed0ca1 Kim Alvefur 2018-03-29
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 2018-03-23
net.server: Monkey-patch in a fallback get_backend method if missing Kim Alvefur 2016-08-10
net.server: Allow arbitrary network backends to be configured Kim Alvefur 2016-08-10
net.server: Only update configuration if server backend supports changing settings Kim Alvefur 2016-08-10
net.server: Fix whitespace Kim Alvefur 2016-08-10
Merge 0.10->trunk Kim Alvefur 2016-01-22
Merge 0.9->0.10 Kim Alvefur 2016-01-22
server_select: Retry accepting clients from full servers after 10s (matches libevent behaviour) Kim Alvefur 2016-01-22
net/server: Handle lack of util.signal correctly daurnimator 2014-10-22
net/server: Remove print daurnimator 2014-10-22
net.server: Rename 'server' config option to 'network_backend' (to select which net.server implementation to use) Matthew Wild 2014-10-22
net/server: If server.hook_signal exists, overwrite signal.signal; else make server.hook_signal == signal.signal daurnimator 2014-10-21
net/server: Split up different backends in a nicer way. Add global config option 'server' daurnimator 2014-10-17
Remove all trailing whitespace Florian Zeitz 2013-08-09
net.server*: Allow the TCP backlog parameter to be set in the config Kim Alvefur 2013-04-27
net.server, _select: Reorganise configuration of server_select to be more like server_event Kim Alvefur 2013-03-23
net.server: No sections in config anymore Kim Alvefur 2013-03-23
net.server: Don't return anything from config-reloaded hook, fixes logrotate heisenbug Kim Alvefur 2012-12-29
net.server: Fix when no network_settings set and using libevent Kim Alvefur 2012-11-23
net.server: Make server_* configurable in the config file. Kim Alvefur 2012-11-23
net.server: server_select != server_event (thanks Nulani, Florob) Matthew Wild 2012-05-03
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 2012-05-03
net.server: Don't load configmanager if not running inside Prosody, assume server_select Matthew Wild 2010-08-23
Merge 0.6->0.7 Matthew Wild 2010-04-09
net.server: Fix logic error causing traceback when receiving a non-number port Matthew Wild 2010-04-09
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
net.server_select: Restore checks for wantread/timeout errors on receive Matthew Wild 2009-12-03
net.server_select: Make bufferlen() method return, of all things, the buffer length Matthew Wild 2009-12-03
net.server_select: Fix possibility of losing data sent from a socket just before it closes (thanks Sjoerd Simons) Matthew Wild 2009-12-03
net.server: Remove redundant commented code and some trailing whitespace Matthew Wild 2010-02-15
net.server: When libevent backend is in use, override signal.signal to use server.hook_signal Matthew Wild 2010-01-10
Merge with tip. Tobias Markmann 2009-11-29
net.server: Log an error when libevent is requested, but luaevent is unavailable, and don't load luaevent when not requested. Waqas Hussain 2009-11-24
net.server: Add some comments to explain to waqas how it all works :) Matthew Wild 2009-11-22
net.server: Small fix for addtimer() compatibility code Matthew Wild 2009-11-21
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 2009-11-21
server.lua: Standardise on 'client' variable to refer to the socket, makes the code a bit cleaner Matthew Wild 2009-10-26
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 2009-10-26
net.server: Allow changing the sslctx of a connection after it has been established Matthew Wild 2009-10-17
Merge with 0.5 Matthew Wild 2009-10-14
net.server: Better handling of closing sockets during send Matthew Wild 2009-10-14
net.server: Small logging improvements Matthew Wild 2009-10-04
net.server: Pass current time to timer callbacks Matthew Wild 2009-10-04
net.server: Increase SSL handshake round-trip limit, and make it configurable Matthew Wild 2009-10-04
net.server: Call handler's status() to notify it of ssl handshake success Matthew Wild 2009-10-04
net.server: Provide a way to get sslctx of a client connection Matthew Wild 2009-10-04
net.server: Provide a way to get sslctx of a server Matthew Wild 2009-10-04
Merge with 0.5 Matthew Wild 2009-10-02
net.server: Fix missing concatenation operator in error message Matthew Wild 2009-10-02
Merge with 0.5 Matthew Wild 2009-09-21
net.server: Fix traceback when closing connections with buffered data get closed during send Matthew Wild 2009-09-21
Merge with 0.5 Matthew Wild 2009-09-18
net.server: Add checking for nil sockets to prevent traceback Matthew Wild 2009-08-18
net.server: Add checking for nil sockets to prevent traceback Matthew Wild 2009-08-18
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 2009-08-16
net.server: Much improve SSL/TLS error reporting, do our best to understand and hide OpenSSL's ridiculously unfriendly error messages Matthew Wild 2009-07-28
net.server: Fail to open port if legacy SSL requested, but SSL not available Matthias Diene 2009-07-23
net.server: Remove listener from listeners table when calling removeserver Matthew Wild 2009-07-23
net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap clients with a broken context Matthew Wild 2009-07-23
net.server: Continue to initialise port listener even when SSL errors occur Matthias Diener 2009-07-23
net.server: Initiate the handshake when we should, the more correcter fix for the previous correct fix Matthew Wild 2009-07-13
net.server: Fix copyright header line endings and text Matthew Wild 2009-07-12
net.server: Correct fix for SSL traceback earlier Matthew Wild 2009-07-12
net.server: Don't continue with socket initialisation if SSL handshake failed, fixes nil socket traceback Matthew Wild 2009-07-12
net.server: Don't close handler if it is already nil when SSL handshake fails Matthew Wild 2009-07-12
Add copyright header to those files missing one Matthew Wild 2009-07-10
net.server: Display server port in error messages Matthew Wild 2009-06-04
net.server: A connection is not secure if we delay the TLS handshake Matthew Wild 2009-05-29
Merge with 0.4 Matthew Wild 2009-05-03
net.server: Add getserver() method to find the server listening on the specified port Matthew Wild 2009-05-03
net.server: Fix global access/incorrect parameter Matthew Wild 2009-04-22
net.server: Fix incorrect parameter passing Matthew Wild 2009-04-22
net.server: Fix global access Matthew Wild 2009-04-22
net.server: Fix potential nil handler usage Matthew Wild 2009-04-17
net.server: Simple logging fix Matthew Wild 2009-04-12
net.server: Remove some debug code which slipped through Matthew Wild 2009-04-12
net.server: Add server.setquitting() to gracefully quit the socket loop Matthew Wild 2009-04-12
net.server: Ensure some logging parameters are strings Matthew Wild 2009-04-08
net.server: Allow replacement of send function on an open socket Matthew Wild 2009-03-07
net.server: Don't call shutdown method on socket if it doesn't have one, eg. for UDP Matthew Wild 2009-03-04
net.server: Check for potential nil handler on close Matthew Wild 2009-03-03
net.server: Fix to make sure we send a string to logging function Matthew Wild 2009-03-02
net.server: Don't retry if client closes socket during SSL handshaking Matthew Wild 2009-03-01
net.server: Some fixes for SSL/TLS handshake handling Matthew Wild 2009-02-27
net.server: Fix some more potential nil handler accesses Matthew Wild 2009-02-18
net.server: Fix nil table index assignment Matthew Wild 2009-02-09
net.server: Fix potential fatal error in server.lua Matthew Wild 2009-02-09
Fix for nil handler error after close Matthew Wild 2009-02-04
server.lua: Comment out unnecessary or very verbose logging, and log the rest as debug level Matthew Wild 2009-01-17
server.lua: Use Prosody logger for errors, silence non-errors Matthew Wild 2009-01-17
Port to new server.lua, quite some changes, but I believe everything to be working Matthew Wild 2009-01-17
Fixed server.lua to use prosody logger for errors Matthew Wild 2009-01-16
Remove some debugging code that slipped in Matthew Wild 2008-12-27
Fix specifying ports in config, and SSL support Matthew Wild 2008-12-27
Remove logging for server.lua Matthew Wild 2008-12-27
Fix data loss when closing connection with a large write queue. Thanks albert :) Matthew Wild 2008-12-18
Make wraptcpclient set timeout to 0, and add it to the list of exported functions from server.lua Matthew Wild 2008-12-13
Remove old commented code from server.lua Matthew Wild 2008-12-06
Re-commit TLS fix Matthew Wild 2008-12-05
Merge Matthew Wild 2008-12-05
Backed out changeset 099d8a102deb (committed too much) Matthew Wild 2008-12-05
Don't say we need TLS after we've already started the handshake Matthew Wild 2008-12-05
Add TLS socket to readlist before handshake starts, fixes major slow-down on TLS connections Matthew Wild 2008-12-05
Comment out debug logging for now Matthew Wild 2008-12-05
Remove linger option on sockets, made no difference, and I forgot to remove it earlier Matthew Wild 2008-12-05
Fix GPL'ing MIT/X licensed code :) Matthew Wild 2008-12-03
Insert copyright/license headers Matthew Wild 2008-12-03
All the people who don't use TLS, this one's for you. Matthew Wild 2008-11-22
Fix to prevent send retry when connection is already closed Matthew Wild 2008-11-18
Flush write queue before closing socket Matthew Wild 2008-11-18
Fix for putting TLS in stream:features for connections already using TLS. Thanks to albert for spotting. Matthew Wild 2008-11-16
Initial s2s stuff s2s Matthew Wild 2008-10-23
server.lua should degrade gracefully when LuaSec not present Matthew Wild 2008-10-22
Remove debugging output from when doing TLS Matthew Wild 2008-10-08
Working TLS! tls Matthew Wild 2008-10-05
TLS: Handshake works, no data after that tls Matthew Wild 2008-10-05