aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.server: Try to require configmanager instead checking for the prosody ↵Kim Alvefur2018-03-231-3/+7
| | | | global which does not yet exist when net.server is loaded now
* net.server: Monkey-patch in a fallback get_backend method if missingKim Alvefur2016-08-101-0/+5
|
* net.server: Allow arbitrary network backends to be configuredKim Alvefur2016-08-101-1/+2
|
* net.server: Only update configuration if server backend supports changing ↵Kim Alvefur2016-08-101-1/+1
| | | | settings
* net.server: Fix whitespaceKim Alvefur2016-08-101-22/+22
|
* Merge 0.10->trunkKim Alvefur2016-01-221-22/+22
|\
| * Merge 0.9->0.10Kim Alvefur2016-01-221-1/+1
| |\
| | * server_select: Retry accepting clients from full servers after 10s (matches ↵Kim Alvefur2016-01-221-1/+1
| | | | | | | | | | | | libevent behaviour)
* | | net/server: Handle lack of util.signal correctlydaurnimator2014-10-221-4/+10
| | |
* | | net/server: Remove printdaurnimator2014-10-221-1/+0
| | |
* | | net.server: Rename 'server' config option to 'network_backend' (to select ↵Matthew Wild2014-10-221-1/+1
| | | | | | | | | | | | which net.server implementation to use)
* | | net/server: If server.hook_signal exists, overwrite signal.signal; else make ↵daurnimator2014-10-211-16/+18
| | | | | | | | | | | | | | | | | | | | | server.hook_signal == signal.signal No longer server_event specific server.hook_signal will always exist
* | | net/server: Split up different backends in a nicer way. Add global config ↵daurnimator2014-10-171-38/+51
|/ / | | | | | | option 'server'
* / Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
|/
* net.server*: Allow the TCP backlog parameter to be set in the configKim Alvefur2013-04-271-0/+1
|
* net.server, _select: Reorganise configuration of server_select to be more ↵Kim Alvefur2013-03-231-3/+11
| | | | like server_event
* net.server: No sections in config anymoreKim Alvefur2013-03-231-2/+2
|
* net.server: Don't return anything from config-reloaded hook, fixes logrotate ↵Kim Alvefur2012-12-291-2/+1
| | | | heisenbug
* net.server: Fix when no network_settings set and using libeventKim Alvefur2012-11-231-1/+1
|
* net.server: Make server_* configurable in the config file.Kim Alvefur2012-11-231-0/+32
|
* net.server: server_select != server_event (thanks Nulani, Florob)Matthew Wild2012-05-031-1/+1
|
* net.server, net.timer, net.server_select: Rearrange dependencies between ↵Matthew Wild2012-05-031-14/+2
| | | | 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)
* net.server: Don't load configmanager if not running inside Prosody, assume ↵Matthew Wild2010-08-231-1/+1
| | | | server_select
* Merge 0.6->0.7Matthew Wild2010-03-221-0/+7
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-1/+1
| |
| * net.server_select: Restore checks for wantread/timeout errors on receiveMatthew Wild2009-12-031-1/+1
| |
| * net.server_select: Make bufferlen() method return, of all things, the buffer ↵Matthew Wild2009-12-031-1/+1
| | | | | | | | length
| * net.server_select: Fix possibility of losing data sent from a socket just ↵Matthew Wild2009-12-031-1/+1
| | | | | | | | before it closes (thanks Sjoerd Simons)
* | net.server: Remove redundant commented code and some trailing whitespaceMatthew Wild2010-02-151-2/+1
| |
* | net.server: When libevent backend is in use, override signal.signal to use ↵Matthew Wild2010-01-101-0/+17
| | | | | | | | server.hook_signal
* | net.server: Log an error when libevent is requested, but luaevent is ↵Waqas Hussain2009-11-241-2/+9
| | | | | | | | unavailable, and don't load luaevent when not requested.
* | net.server: Add some comments to explain to waqas how it all works :)Matthew Wild2009-11-221-1/+6
| |
* | net.server: Small fix for addtimer() compatibility codeMatthew Wild2009-11-211-1/+1
| |
* | net.server: New net.server to choose the appropriate library from ↵Matthew Wild2009-11-211-0/+21
| | | | | | | | server_select/server_event based on the availability of luaevent and the use_libevent config option
* | net.server: Rename to net.server_selectMatthew Wild2009-11-211-914/+0
|/
* server.lua: Standardise on 'client' variable to refer to the socket, makes ↵Matthew Wild2009-10-261-3/+3
| | | | the code a bit cleaner
* server.lua: Add addsocket(), refactor all code to use it, fixes nasty socket ↵Matthew Wild2009-10-261-21/+18
| | | | object leak - moral of the story is to not duplicate code, and not prematurely optimise. But you knew that already didn't you?
* net.server: Allow changing the sslctx of a connection after it has been ↵Matthew Wild2009-10-171-16/+22
| | | | established
* Merge with 0.5Matthew Wild2009-10-141-7/+9
|\
| * net.server: Better handling of closing sockets during sendMatthew Wild2009-10-141-6/+9
| |
* | net.server: Small logging improvementsMatthew Wild2009-10-041-3/+3
| |
* | net.server: Pass current time to timer callbacksMatthew Wild2009-10-041-1/+1
| |
* | net.server: Increase SSL handshake round-trip limit, and make it configurableMatthew Wild2009-10-041-2/+4
| |
* | net.server: Call handler's status() to notify it of ssl handshake successMatthew Wild2009-10-041-1/+2
| |
* | net.server: Provide a way to get sslctx of a client connectionMatthew Wild2009-10-041-0/+3
| |
* | net.server: Provide a way to get sslctx of a serverMatthew Wild2009-10-041-0/+3
| |
* | Merge with 0.5Matthew Wild2009-10-021-1/+1
|\|
| * net.server: Fix missing concatenation operator in error messageMatthew Wild2009-10-021-1/+1
| |
* | Merge with 0.5Matthew Wild2009-09-211-0/+1
|\|
| * net.server: Fix traceback when closing connections with buffered data get ↵Matthew Wild2009-09-211-0/+1
| | | | | | | | closed during send