Mercurial > prosody-hg
diff core/s2smanager.lua @ 2893:98cbc092c64c
Merge 0.7->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 18 Mar 2010 01:27:31 +0000 |
| parents | 9f214431de29 |
| children | f47bd0f7e2e6 |
line wrap: on
line diff
--- a/core/s2smanager.lua Wed Mar 17 14:36:23 2010 +0000 +++ b/core/s2smanager.lua Thu Mar 18 01:27:31 2010 +0000 @@ -369,11 +369,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);
