Software /
code /
prosody
Comparison
net/server.lua @ 1581:4cdf9cefa0bc
net.server: Fail to open port if legacy SSL requested, but SSL not available
author | Matthias Diene |
---|---|
date | Thu, 23 Jul 2009 12:01:00 +0100 |
parent | 1577:c0e6d11e35ce |
child | 1612:0413aaf9edae |
comparison
equal
deleted
inserted
replaced
1580:5be6dc582df3 | 1581:4cdf9cefa0bc |
---|---|
188 ssl = false | 188 ssl = false |
189 end | 189 end |
190 end | 190 end |
191 if not ssl then | 191 if not ssl then |
192 sslctx = false; | 192 sslctx = false; |
193 out_put("server.lua: ", "ssl not enabled on ", serverport); | 193 if startssl then |
194 out_error( "server.lua: Cannot start ssl on port: ", serverport ) | |
195 return nil, "Cannot start ssl, see log for details" | |
196 else | |
197 out_put("server.lua: ", "ssl not enabled on ", serverport); | |
198 end | |
194 end | 199 end |
195 | 200 |
196 local accept = socket.accept | 201 local accept = socket.accept |
197 | 202 |
198 --// public methods of the object //-- | 203 --// public methods of the object //-- |