Software /
code /
prosody
Diff
plugins/mod_tls.lua @ 1910:14c043d7fb77
mod_tls: Mark session as not secure before negotiating TLS
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 05 Oct 2009 14:51:53 +0100 |
parent | 1903:b7552b1e267d |
child | 1911:bfe120db1ec4 |
line wrap: on
line diff
--- 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");