# HG changeset patch # User Matthew Wild # Date 1254750713 -3600 # Node ID 14c043d7fb774b63019daa87985a7ffbbfc8e123 # Parent 84027581c995648081bea5589504559c079d0ef8 mod_tls: Mark session as not secure before negotiating TLS diff -r 84027581c995 -r 14c043d7fb77 plugins/mod_tls.lua --- 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");