Mon, 13 Jul 2009 21:17:51 +0100
net.server: Initiate the handshake when we should, the more correcter fix for the previous correct fix
net/server.lua | file | annotate | diff | comparison | revisions |
--- a/net/server.lua Sun Jul 12 20:32:38 2009 +0100 +++ b/net/server.lua Mon Jul 13 21:17:51 2009 +0100 @@ -536,7 +536,8 @@ socket:settimeout( 0 ) handler.readbuffer = handshake handler.sendbuffer = handshake - if not socket then -- do handshake + handshake( socket ) -- do handshake + if not socket then return nil, nil, "ssl handshake failed"; end else