Changeset

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
parents 1572:1b87dfb76caa
children 1575:ca39f78de3c8
files net/server.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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