diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-19 04:35:10 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-19 04:35:10 +0000 |
commit | c29137a1b11bdda5ec1406a2fc5de613500a02ca (patch) | |
tree | a72f544c93b858bd4eb91d91353911b55b51d462 /core/s2smanager.lua | |
parent | 9858c0f2fc72965fd2410b98fe894ae11f42a259 (diff) | |
download | prosody-c29137a1b11bdda5ec1406a2fc5de613500a02ca.tar.gz prosody-c29137a1b11bdda5ec1406a2fc5de613500a02ca.zip |
s2smanager: No-one noticed that Prosody stopped sending to/from on stream headers recently? :)
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index af5e91e3..a24f2b2d 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -327,7 +327,7 @@ function make_connect(host_session, connect_host, connect_port) local w, log = conn.write, host_session.log; host_session.sends2s = function (t) log("debug", "sending: %s", (t.top_tag and t:top_tag()) or t:match("^[^>]*>?")); w(conn, tostring(t)); end - host_session:open_stream(); + host_session:open_stream(from_host, to_host); log("debug", "Connection attempt in progress..."); add_task(connect_timeout, function () |