# HG changeset patch # User Matthew Wild # Date 1248310629 -3600 # Node ID 3692706f78e3de5cc5e7a3cf645098f764b81f1a # Parent 1b87dfb76caa4ca5c8624eb54b5d2d468ed2aa3e net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap clients with a broken context diff -r 1b87dfb76caa -r 3692706f78e3 net/server.lua --- a/net/server.lua Thu Jul 23 01:38:13 2009 +0100 +++ b/net/server.lua Thu Jul 23 01:57:09 2009 +0100 @@ -189,6 +189,7 @@ end end if not ssl then + sslctx = false; out_put("server.lua: ", "ssl not enabled on ", serverport); end