aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove linger option on sockets, made no difference, and I forgot to remove ↵Matthew Wild2008-12-051-2/+0
| | | | it earlier
* Fix GPL'ing MIT/X licensed code :)Matthew Wild2008-12-031-860/+838
|
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* All the people who don't use TLS, this one's for you.Matthew Wild2008-11-221-1/+1
|
* Fix to prevent send retry when connection is already closedMatthew Wild2008-11-181-6/+9
|
* Flush write queue before closing socketMatthew Wild2008-11-181-1/+5
|
* Fix for putting TLS in stream:features for connections already using TLS. ↵Matthew Wild2008-11-161-0/+2
| | | | Thanks to albert for spotting.
* Initial s2s stuffMatthew Wild2008-10-231-1/+1
|
* server.lua should degrade gracefully when LuaSec not presentMatthew Wild2008-10-221-2/+2
|