From fb803e14088f1fae972d0f6d15d051b5a375be6e Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 18 Mar 2010 01:15:25 +0000 Subject: s2smanager: Remove the infamous 'as per RFC' log message entirely (it happens too often to be useful) --- core/s2smanager.lua | 6 ------ 1 file changed, 6 deletions(-) (limited to 'core/s2smanager.lua') 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); -- cgit v1.2.3