aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-04-19 19:00:46 +0200
committerKim Alvefur <zash@zash.se>2016-04-19 19:00:46 +0200
commit72c55cf058c4c542ef63f4500ae52f26f0cce7b4 (patch)
tree5dc4e5efd72ad25de87e42f7b51f7cd7a209a515
parentf90697534896e28ea57c15cf29458601c655f8f1 (diff)
parentfd873c5d1338091f466e74683d85e6f1121969b1 (diff)
downloadprosody-72c55cf058c4c542ef63f4500ae52f26f0cce7b4.tar.gz
prosody-72c55cf058c4c542ef63f4500ae52f26f0cce7b4.zip
Merge 0.10->trunk
-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 cfe9c6f5..08524646 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