diff options
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index c3a79599..ec8af2a4 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -391,11 +391,11 @@ function interface_mt:starttls(sslctx, call_onconnect) self:_lock( true, true, true ) -- lock the interface, to not disturb the handshake self.eventstarthandshake = addevent( base, nil, EV_TIMEOUT, self.startsslcallback, 0 ) -- add event to start handshake else -- wait until writebuffer is empty - self:_lock( true, true, false ) - debug "ssl session delayed until writebuffer is empty..." -end -self.starttls = false; -return true + self:_lock( true, true, false ) + debug "ssl session delayed until writebuffer is empty..." + end + self.starttls = false; + return true end function interface_mt:setoption(option, value) |