mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
core.s2smanager: Log the entire stream header.
This commit is contained in:
parent
f9853f402b
commit
5442ecd0fe
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ function streamopened(session, attr)
|
|||
session.from_host = attr.from and nameprep(attr.from);
|
||||
|
||||
session.streamid = uuid_gen();
|
||||
(session.log or log)("debug", "Incoming s2s received <stream:stream>");
|
||||
(session.log or log)("debug", "Incoming s2s received %s", st.stanza("stream:stream", attr):top_tag());
|
||||
if session.to_host then
|
||||
if not hosts[session.to_host] then
|
||||
-- Attempting to connect to a host we don't serve
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue