projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c08dd3d
)
prosody: Only set the ssl_ctx for 'ssl' connections
author
Matthew Wild
<mwild1@gmail.com>
Sun, 31 Jan 2010 16:22:52 +0000
(16:22 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sun, 31 Jan 2010 16:22:52 +0000
(16:22 +0000)
prosody
patch
|
blob
|
history
diff --git
a/prosody
b/prosody
index 542787dfa6b91ddde5353a43edb479642bf5551e..81152235fae258b831c0020f8e494fe5aa5e0416 100755
(executable)
--- a/
prosody
+++ b/
prosody
@@
-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