diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-31 17:15:35 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-31 17:15:35 +0000 |
commit | e39718024f7989cb0287453dc555ccef29e7f99e (patch) | |
tree | ab06f919b5752fde94478b9dab3b31939f89fd3a /prosody | |
parent | b42079373b79d0929e481b18fec2029e7f135505 (diff) | |
download | prosody-e39718024f7989cb0287453dc555ccef29e7f99e.tar.gz prosody-e39718024f7989cb0287453dc555ccef29e7f99e.zip |
prosody: Show friendly error when no config present for legacy SSL ports
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -228,6 +228,9 @@ function init_global_state() end elseif err:match("permission") then friendly_message = "Prosody does not have sufficient privileges to use this port"; + elseif err == "no ssl context" then + friendly_message = "there is no 'ssl' config under Host \"*\" which is " + .."require for legacy SSL ports"; end log("error", "Failed to open server port %d, %s", port, friendly_message); end |