Software /
code /
prosody
Comparison
net/server.lua @ 1574:3692706f78e3
net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap clients with a broken context
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 23 Jul 2009 01:57:09 +0100 |
parent | 1570:a46453758631 |
child | 1577:c0e6d11e35ce |
comparison
equal
deleted
inserted
replaced
1572:1b87dfb76caa | 1574:3692706f78e3 |
---|---|
187 out_error( "server.lua: ", err ) | 187 out_error( "server.lua: ", err ) |
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 out_put("server.lua: ", "ssl not enabled on ", serverport); | 193 out_put("server.lua: ", "ssl not enabled on ", serverport); |
193 end | 194 end |
194 | 195 |
195 local accept = socket.accept | 196 local accept = socket.accept |
196 | 197 |