aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* net.server: Fix nil table index assignmentMatthew Wild2009-02-091-1/+1
|
* net.server: Fix potential fatal error in server.luaMatthew Wild2009-02-091-1/+1
|
* Fix for nil handler error after closeMatthew Wild2009-02-041-1/+1
|
* server.lua: Comment out unnecessary or very verbose logging, and log the ↵Matthew Wild2009-01-171-9/+9
| | | | rest as debug level
* server.lua: Use Prosody logger for errors, silence non-errorsMatthew Wild2009-01-171-2/+4
|
* Port to new server.lua, quite some changes, but I believe everything to be ↵Matthew Wild2009-01-171-887/+821
| | | | working
* Fixed server.lua to use prosody logger for errorsMatthew Wild2009-01-161-2/+4
|
* Remove some debugging code that slipped inMatthew Wild2008-12-271-1/+0
|
* Fix specifying ports in config, and SSL supportMatthew Wild2008-12-271-6/+11
|
* Remove logging for server.luaMatthew Wild2008-12-271-1/+0
|
* Fix data loss when closing connection with a large write queue. Thanks albert :)Matthew Wild2008-12-181-6/+48
|
* Make wraptcpclient set timeout to 0, and add it to the list of exported ↵Matthew Wild2008-12-131-0/+3
| | | | functions from server.lua
* Remove old commented code from server.luaMatthew Wild2008-12-061-4/+0
|
* Re-commit TLS fixMatthew Wild2008-12-051-1/+12
|
* MergeMatthew Wild2008-12-051-13/+2
|\
| * Backed out changeset 099d8a102deb (committed too much)Matthew Wild2008-12-051-12/+4
| |
* | Don't say we need TLS after we've already started the handshakeMatthew Wild2008-12-051-4/+1
|/
* Add TLS socket to readlist before handshake starts, fixes major slow-down on ↵Matthew Wild2008-12-051-4/+12
| | | | TLS connections
* Comment out debug logging for nowMatthew Wild2008-12-051-3/+3
|