Sun, 16 Nov 2008 00:29:15 +0000
Fix for putting TLS in stream:features for connections already using TLS. Thanks to albert for spotting.
net/server.lua | file | annotate | diff | comparison | revisions |
--- a/net/server.lua Sun Nov 16 00:27:40 2008 +0000 +++ b/net/server.lua Sun Nov 16 00:29:15 2008 +0000 @@ -523,6 +523,8 @@ return receive( socket, pattern, prefix ) end + handler.starttls = nil; + handler.handshake = coroutine_wrap( function( client ) local err for i = 1, 10 do -- 10 handshake attemps