plugins/mod_tls.lua

changeset 1213
de66fa750daf
parent 894
2c0b9e3c11c3
child 1219
f14e08a0ae7f
--- a/plugins/mod_tls.lua	Thu May 28 20:39:32 2009 +0100
+++ b/plugins/mod_tls.lua	Fri May 29 14:28:53 2009 +0100
@@ -19,6 +19,7 @@
 				session:reset_stream();
 				session.conn.starttls();
 				session.log("info", "TLS negotiation started...");
+				session.secure = false;
 			else
 				-- FIXME: What reply?
 				session.log("warn", "Attempt to start TLS, but TLS is not available on this connection");

mercurial