diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-31 16:22:52 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-31 16:22:52 +0000 |
commit | c8aaba9697978b1c6a5362dd05236bbf6e94497a (patch) | |
tree | 2034a53e29d97a70d57b50dd6a6c37426991f5dd | |
parent | 3a315a20ec1a3b8e25cf96084d3898bc5077c900 (diff) | |
download | prosody-c8aaba9697978b1c6a5362dd05236bbf6e94497a.tar.gz prosody-c8aaba9697978b1c6a5362dd05236bbf6e94497a.zip |
prosody: Only set the ssl_ctx for 'ssl' connections
-rwxr-xr-x | prosody | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -206,7 +206,7 @@ function init_global_state() 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 |