aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-19 22:04:39 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-19 22:04:39 +0000
commitdd6a298f93413ec919c8f467438009b63e187b51 (patch)
treef81e2d7552738ff3f98c3d6487193a71b5bd65ed /core
parent762904eba2b816dd481947e12d46937619d2f323 (diff)
downloadprosody-dd6a298f93413ec919c8f467438009b63e187b51.tar.gz
prosody-dd6a298f93413ec919c8f467438009b63e187b51.zip
Fix for setting the correct host on the socket, seems to fix s2s with XCP
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 05c64519..2370e437 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -117,7 +117,7 @@ function new_outgoing(from_host, to_host)
log("warn", "s2s connect() failed: %s", err);
end
- conn = wraptlsclient(cl, conn, to_host, 5269, 0, 1, hosts[from_host].ssl_ctx );
+ conn = wraptlsclient(cl, conn, connect_host, connect_port, 0, 1, hosts[from_host].ssl_ctx );
host_session.conn = conn;
-- Register this outgoing connection so that xmppserver_listener knows about it