Wed, 19 Nov 2008 22:04:39 +0000
Fix for setting the correct host on the socket, seems to fix s2s with XCP
core/s2smanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/s2smanager.lua Wed Nov 19 22:03:39 2008 +0000 +++ b/core/s2smanager.lua Wed Nov 19 22:04:39 2008 +0000 @@ -117,7 +117,7 @@ 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