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 | 4dbc6b605d93a998517eb96c4bae43038199d75a (patch) | |
tree | 500c96916410d1d05988d88b598a89ee813d154c | |
parent | 43644666de538fedd188088111cefcead0f989db (diff) | |
download | prosody-4dbc6b605d93a998517eb96c4bae43038199d75a.tar.gz prosody-4dbc6b605d93a998517eb96c4bae43038199d75a.zip |
prosody: Show friendly error when no config present for legacy SSL ports
-rwxr-xr-x | prosody | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -218,6 +218,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 |