mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_c2s: Reflect stream 'from' attribute back if set (fix #1625)
Clients should *not* be setting this before TLS anyways.
This commit is contained in:
parent
1f7686a6bd
commit
8b35cb5c87
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ function stream_callbacks._streamopened(session, attr)
|
|||
return;
|
||||
end
|
||||
|
||||
session:open_stream();
|
||||
session:open_stream(host, attr.from);
|
||||
|
||||
(session.log or log)("debug", "Sent reply <stream:stream> to client");
|
||||
session.notopen = nil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue