prosody: Added config option 'ssl_ports' to allow multiplexed SSL ports.

Thu, 10 Dec 2009 18:40:21 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Thu, 10 Dec 2009 18:40:21 +0500
changeset 2362
7f5dbf982d14
parent 2361
926905cb777f
child 2363
a1e987f499a8

prosody: Added config option 'ssl_ports' to allow multiplexed SSL ports.

prosody file | annotate | diff | comparison | revisions
--- a/prosody	Thu Dec 10 16:52:08 2009 +0500
+++ b/prosody	Thu Dec 10 18:40:21 2009 +0500
@@ -288,6 +288,9 @@
 	-- 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});

mercurial