Software /
code /
prosody
Changeset
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 |
parents | 1909:84027581c995 |
children | 1911:bfe120db1ec4 |
files | plugins/mod_tls.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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");