Tue, 06 Oct 2009 10:34:13 +0100
mod_tls: Mark sessions as not secure when negotiating outward TLS, so they get marked secure later. Fixes missing (encrypted) for outgoing sessions in s2s:show(). Thanks albert, McKael :)
plugins/mod_tls.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_tls.lua Mon Oct 05 22:15:32 2009 +0100 +++ b/plugins/mod_tls.lua Tue Oct 06 10:34:13 2009 +0100 @@ -87,5 +87,6 @@ local format, to_host, from_host = string.format, session.to_host, session.from_host; session:reset_stream(); session.conn.starttls(true); + session.secure = false; return true; end);