Software /
code /
prosody
Changeset
664:30ccc5e3d8c8
Don't use TLS connection handler when SSL/TLS not available or configured (thanks to Ricardo for finding)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 29 Dec 2008 22:31:10 +0000 |
parents | 663:69fe30ffc8c3 |
children | 665:09e0e9c722a3 |
files | prosody |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/prosody Sun Dec 28 05:09:38 2008 +0000 +++ b/prosody Mon Dec 29 22:31:10 2008 +0000 @@ -140,7 +140,7 @@ end end -do_ports("c2s_ports", "xmppclient", {5222}, "tls"); +do_ports("c2s_ports", "xmppclient", {5222}, (global_ssl_ctx and "tls") or "tcp"); do_ports("s2s_ports", "xmppserver", {5269}, "tcp"); do_ports("legacy_ssl_ports", "xmppclient", {}, "ssl");