Mercurial > prosody-hg
comparison core/s2smanager.lua @ 2889:c1e6df7cf56a
s2smanager: Remove the infamous 'as per RFC' log message entirely (it happens too often to be useful)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 18 Mar 2010 01:15:25 +0000 |
| parents | 1edeb8fe7d14 |
| children | 9f214431de29 b7049746bd29 |
comparison
equal
deleted
inserted
replaced
| 2886:3baee526d714 | 2889:c1e6df7cf56a |
|---|---|
| 357 | 357 |
| 358 if session.secure == false then | 358 if session.secure == false then |
| 359 session.secure = true; | 359 session.secure = true; |
| 360 end | 360 end |
| 361 | 361 |
| 362 if session.version >= 1.0 and not (attr.to and attr.from) then | |
| 363 | |
| 364 (session.log or log)("warn", "Remote of stream "..(session.from_host or "(unknown)").."->"..(session.to_host or "(unknown)") | |
| 365 .." failed to specify to (%s) and/or from (%s) hostname as per RFC", tostring(attr.to), tostring(attr.from)); | |
| 366 end | |
| 367 | |
| 368 if session.direction == "incoming" then | 362 if session.direction == "incoming" then |
| 369 -- Send a reply stream header | 363 -- Send a reply stream header |
| 370 session.to_host = attr.to and nameprep(attr.to); | 364 session.to_host = attr.to and nameprep(attr.to); |
| 371 session.from_host = attr.from and nameprep(attr.from); | 365 session.from_host = attr.from and nameprep(attr.from); |
| 372 | 366 |
