Software /
code /
prosody
Diff
core/s2smanager.lua @ 451:e9f269e5204e
No more reading 1 byte at a time from sockets
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 28 Nov 2008 00:08:23 +0000 |
parent | 448:2623519b25b0 |
child | 519:cccd610a0ef9 |
line wrap: on
line diff
--- a/core/s2smanager.lua Thu Nov 27 23:36:49 2008 +0000 +++ b/core/s2smanager.lua Fri Nov 28 00:08:23 2008 +0000 @@ -143,7 +143,7 @@ end local cl = connlisteners_get("xmppserver"); - conn = wraptlsclient(cl, conn, connect_host, connect_port, 0, 1, hosts[from_host].ssl_ctx ); + conn = wraptlsclient(cl, conn, connect_host, connect_port, 0, cl.default_mode or 1, hosts[from_host].ssl_ctx ); host_session.conn = conn; -- Register this outgoing connection so that xmppserver_listener knows about it