Software /
code /
prosody-modules
Changeset
1467:f10a3a5ba28f
mod_onions: Set the stream version to 1.0 on onionized streams, so TLS is offered.
author | Thijs Alkemade <me@thijsalkema.de> |
---|---|
date | Fri, 04 Jul 2014 14:16:21 +0200 |
parents | 1466:9da03e45c6be |
children | 1468:cf32265eb4c7 |
files | mod_onions/mod_onions.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_onions/mod_onions.lua Wed Jul 02 22:37:16 2014 -0500 +++ b/mod_onions/mod_onions.lua Fri Jul 04 14:16:21 2014 +0200 @@ -84,6 +84,8 @@ local filter = initialize_filters(session); + session.version = 1; + session.sends2s = function (t) log("debug", "sending (s2s over socks5): %s", (t.top_tag and t:top_tag()) or t:match("^[^>]*>?")); if t.name then