aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-21 12:23:13 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-21 12:23:13 +0000
commitd532b1173a36940f73046798371b8077af98d0b7 (patch)
tree61279920c256bae1965c0d00d863c7064a051c2f /net/server_event.lua
parent23b248cfbeaba59ce9db8465bd4bf72155f1786d (diff)
downloadprosody-d532b1173a36940f73046798371b8077af98d0b7.tar.gz
prosody-d532b1173a36940f73046798371b8077af98d0b7.zip
net.server_event: Replace all calls to _start_ssl() to its bigger brother starttls() - fixes 5223 w/ libevent
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index fd6cbd50..a1403911 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -143,7 +143,7 @@ do
debug( "new connection failed. id:", self.id, "error:", self.fatalerror )
else
if plainssl then -- start ssl session
- self:_start_ssl( self.listener.onconnect )
+ self:starttls()
else -- normal connection
self:_start_session( self.listener.onconnect )
end
@@ -662,7 +662,7 @@ do
local clientinterface = handleclient( client, ip, port, interface, pattern, listener, nil, sslctx )
--vdebug( "client id:", clientinterface, "startssl:", startssl )
if startssl then
- clientinterface:_start_ssl( clientinterface.onconnect )
+ clientinterface:starttls()
else
clientinterface:_start_session( clientinterface.onconnect )
end