Diff

net/server.lua @ 1574:3692706f78e3

net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap clients with a broken context
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Jul 2009 01:57:09 +0100
parent 1570:a46453758631
child 1577:c0e6d11e35ce
line wrap: on
line diff
--- 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