projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49ba9a9
)
mod_tls: Mark sessions as not secure when negotiating outward TLS, so they get marked...
author
Matthew Wild
<mwild1@gmail.com>
Tue, 6 Oct 2009 09:34:13 +0000
(10:34 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Tue, 6 Oct 2009 09:34:13 +0000
(10:34 +0100)
plugins/mod_tls.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_tls.lua
b/plugins/mod_tls.lua
index e854d67648a41d03346a27bebf39e0c5ded841c6..c2f83a3a059e0e52c99f6aeabded5d893150dffe 100644
(file)
--- a/
plugins/mod_tls.lua
+++ b/
plugins/mod_tls.lua
@@
-87,5
+87,6
@@
module:hook_stanza(xmlns_starttls, "proceed",
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);