aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-04-19 19:00:19 +0200
committerKim Alvefur <zash@zash.se>2016-04-19 19:00:19 +0200
commitfd873c5d1338091f466e74683d85e6f1121969b1 (patch)
tree451c26ca6d2bb35b6dfded6ba677efe19250eef5 /net/server_event.lua
parent5133e1cf8997e8a396dd335c4b93ab3d6612e733 (diff)
parenta31f68cb0df7a56f3e516377992df4d25f90395a (diff)
downloadprosody-fd873c5d1338091f466e74683d85e6f1121969b1.tar.gz
prosody-fd873c5d1338091f466e74683d85e6f1121969b1.zip
Merge 0.9->0.10
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index 5fd49d0a..1329a43d 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -518,7 +518,7 @@ local function handleclient( client, ip, port, server, pattern, listener, sslctx
elseif interface.startsslcallback then -- start ssl connection if needed
debug "starting ssl handshake after writing"
interface.eventstarthandshake = addevent( base, nil, EV_TIMEOUT, interface.startsslcallback, 0 )
- elseif interface.writebuffer ~= 0 then
+ elseif interface.writebufferlen ~= 0 then
-- data possibly written from ondrain
return EV_WRITE, cfg.WRITE_TIMEOUT
elseif interface.eventreadtimeout then