Software /
code /
prosody
Diff
core/s2smanager.lua @ 1894:53f34ba6f6d6
Minor changes; outgoing TLS works.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 03 Oct 2009 19:20:20 -0700 |
parent | 1891:fd725a28141d |
child | 1895:b7c838a1b0ca |
line wrap: on
line diff
--- a/core/s2smanager.lua Sun Oct 04 16:50:22 2009 +0100 +++ b/core/s2smanager.lua Sat Oct 03 19:20:20 2009 -0700 @@ -337,7 +337,7 @@ local send = session.sends2s; -- TODO: #29: SASL/TLS on s2s streams - session.version = 0; --tonumber(attr.version) or 0; + session.version = tonumber(attr.version) or 0; if session.version >= 1.0 and not (attr.to and attr.from) then log("warn", (session.to_host or "(unknown)").." failed to specify 'to' or 'from' hostname as per RFC"); @@ -387,6 +387,7 @@ -- If server is pre-1.0, don't wait for features, just do dialback if session.version < 1.0 then if not session.dialback_verifying then + log("debug", "Initiating dialback..."); initiate_dialback(session); else mark_connected(session);