Software /
code /
prosody
Changeset
2891:955a12ac985e
Merge 0.6 with waqas
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 18 Mar 2010 01:16:39 +0000 |
parents | 2889:c1e6df7cf56a (diff) 2890:6273d4672cb4 (current diff) |
children | 2892:9f214431de29 2922:0ea2ed371fb2 |
files | |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Tue Mar 16 00:15:05 2010 +0500 +++ b/core/s2smanager.lua Thu Mar 18 01:16:39 2010 +0000 @@ -359,12 +359,6 @@ session.secure = true; end - if session.version >= 1.0 and not (attr.to and attr.from) then - - (session.log or log)("warn", "Remote of stream "..(session.from_host or "(unknown)").."->"..(session.to_host or "(unknown)") - .." failed to specify to (%s) and/or from (%s) hostname as per RFC", tostring(attr.to), tostring(attr.from)); - end - if session.direction == "incoming" then -- Send a reply stream header session.to_host = attr.to and nameprep(attr.to);