net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap clients with a broken context

Thu, 23 Jul 2009 01:57:09 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 23 Jul 2009 01:57:09 +0100
changeset 1574
3692706f78e3
parent 1572
1b87dfb76caa
child 1575
ca39f78de3c8

net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap clients with a broken context

net/server.lua file | annotate | diff | comparison | revisions
--- 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
 

mercurial