aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-03-18 01:15:25 +0000
committerMatthew Wild <mwild1@gmail.com>2010-03-18 01:15:25 +0000
commitfb803e14088f1fae972d0f6d15d051b5a375be6e (patch)
tree821501dbcb5c876bd0b41a2789af03e22761593c
parentb3aafb2c908ee767656555086c9c08c471f5063a (diff)
downloadprosody-fb803e14088f1fae972d0f6d15d051b5a375be6e.tar.gz
prosody-fb803e14088f1fae972d0f6d15d051b5a375be6e.zip
s2smanager: Remove the infamous 'as per RFC' log message entirely (it happens too often to be useful)
-rw-r--r--core/s2smanager.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 92f07354..b01653db 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -359,12 +359,6 @@ function streamopened(session, attr)
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);