plugins/mod_tls.lua

changeset 1910
14c043d7fb77
parent 1903
b7552b1e267d
child 1911
bfe120db1ec4
--- a/plugins/mod_tls.lua	Mon Oct 05 14:50:27 2009 +0100
+++ b/plugins/mod_tls.lua	Mon Oct 05 14:51:53 2009 +0100
@@ -34,6 +34,7 @@
 				session:reset_stream();
 				session.conn.starttls();
 				session.log("info", "TLS negotiation started for incoming s2s...");
+				session.secure = false;
 			else
 				-- FIXME: What reply?
 				session.log("warn", "Attempt to start TLS, but TLS is not available on this s2s connection");

mercurial