aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-12-10 18:40:21 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-12-10 18:40:21 +0500
commit515b21547aa33c610e7ff835e9f4683a024f244d (patch)
tree4139f8f4fcdd40c60b7767feac17f673c156c276
parent7fa4ee73e2c8265daf4cf7a8b0364258c1d8532c (diff)
downloadprosody-515b21547aa33c610e7ff835e9f4683a024f244d.tar.gz
prosody-515b21547aa33c610e7ff835e9f4683a024f244d.zip
prosody: Added config option 'ssl_ports' to allow multiplexed SSL ports.
-rwxr-xr-xprosody3
1 files changed, 3 insertions, 0 deletions
diff --git a/prosody b/prosody
index 71d157bf..5409f19c 100755
--- a/prosody
+++ b/prosody
@@ -288,6 +288,9 @@ function prepare_to_start()
-- start listening on sockets
if config.get("*", "core", "ports") then
prosody.net_activate_ports(nil, "multiplex", {5222, 5269});
+ if config.get("*", "core", "ssl_ports") then
+ prosody.net_activate_ports("ssl", "multiplex", {5223}, "ssl");
+ end
else
prosody.net_activate_ports("c2s", "xmppclient", {5222});
prosody.net_activate_ports("s2s", "xmppserver", {5269});