aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * net.server: Add checking for nil sockets to prevent tracebackMatthew Wild2009-08-181-7/+13
| |
* | net.server: Add checking for nil sockets to prevent tracebackMatthew Wild2009-08-181-7/+13
| |
* | net.server: Comment all calls to mem_free/collectgarbage... not really ↵Matthew Wild2009-08-161-5/+5
|/ | | | suitable for a realtime server, let's trust Lua's GC - it's good.
* net.server: Much improve SSL/TLS error reporting, do our best to understand ↵Matthew Wild2009-07-281-6/+27
| | | | and hide OpenSSL's ridiculously unfriendly error messages
* net.server: Fail to open port if legacy SSL requested, but SSL not availableMatthias Diene2009-07-231-1/+6
|
* net.server: Remove listener from listeners table when calling removeserverMatthew Wild2009-07-231-0/+1
|
* net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting ↵Matthew Wild2009-07-231-0/+1
| | | | to wrap clients with a broken context
* net.server: Continue to initialise port listener even when SSL errors occurMatthias Diener2009-07-231-6/+8
|
* net.server: Initiate the handshake when we should, the more correcter fix ↵Matthew Wild2009-07-131-1/+2
| | | | for the previous correct fix
* net.server: Fix copyright header line endings and textMatthew Wild2009-07-121-16/+6
|
* net.server: Correct fix for SSL traceback earlierMatthew Wild2009-07-121-1/+1
|
* net.server: Don't continue with socket initialisation if SSL handshake ↵Matthew Wild2009-07-121-1/+3
| | | | failed, fixes nil socket traceback
* net.server: Don't close handler if it is already nil when SSL handshake failsMatthew Wild2009-07-121-1/+1
|
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* net.server: Display server port in error messagesMatthew Wild2009-06-041-2/+2
|
* net.server: A connection is not secure if we delay the TLS handshakeMatthew Wild2009-05-291-0/+5
|
* Merge with 0.4Matthew Wild2009-05-031-1/+7
|\
| * net.server: Add getserver() method to find the server listening on the ↵Matthew Wild2009-05-031-1/+7
| | | | | | | | specified port
* | net.server: Fix global access/incorrect parameterMatthew Wild2009-04-221-1/+1
| |
* | net.server: Fix incorrect parameter passingMatthew Wild2009-04-221-1/+1
| |
* | net.server: Fix global accessMatthew Wild2009-04-221-1/+1
|/
* net.server: Fix potential nil handler usageMatthew Wild2009-04-171-4/+8
|
* net.server: Simple logging fixMatthew Wild2009-04-121-1/+1
|
* net.server: Remove some debug code which slipped throughMatthew Wild2009-04-121-1/+0
|
* net.server: Add server.setquitting() to gracefully quit the socket loopMatthew Wild2009-04-121-2/+11
|
* net.server: Ensure some logging parameters are stringsMatthew Wild2009-04-081-7/+7
|
* net.server: Allow replacement of send function on an open socketMatthew Wild2009-03-071-0/+4
|
* net.server: Don't call shutdown method on socket if it doesn't have one, eg. ↵Matthew Wild2009-03-041-1/+1
| | | | for UDP
* net.server: Check for potential nil handler on closeMatthew Wild2009-03-031-0/+1
|
* net.server: Fix to make sure we send a string to logging functionMatthew Wild2009-03-021-1/+1
|
* net.server: Don't retry if client closes socket during SSL handshakingMatthew Wild2009-03-011-2/+4
|
* net.server: Some fixes for SSL/TLS handshake handlingMatthew Wild2009-02-271-4/+11
|
* net.server: Fix some more potential nil handler accessesMatthew Wild2009-02-181-2/+4
|