Software /
code /
prosody
Changeset
2548:e12acef85166
prosody: Only set the ssl_ctx for 'ssl' connections
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 31 Jan 2010 16:22:52 +0000 |
parents | 2547:b2cb0935f158 |
children | 2549:55a50e75c0c0 |
files | prosody |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/prosody Sun Jan 31 15:44:55 2010 +0000 +++ b/prosody Sun Jan 31 16:22:52 2010 +0000 @@ -206,7 +206,7 @@ log("error", "Non-numeric "..ports_option..": "..tostring(port)); else cl.start(listener, { - ssl = conntype ~= "tcp" and global_ssl_ctx, + ssl = conntype == "ssl" and global_ssl_ctx, port = port, interface = (option and config.get("*", "core", option.."_interface")) or cl.get(listener).default_interface