aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/server_epoll.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index b2df6188..a6716cd9 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -289,6 +289,7 @@ function interface:onwriteable()
self:setflags(nil, false);
self:setwritetimeout(false);
self:ondrain(); -- Be aware of writes in ondrain
+ return;
elseif partial then
buffer[1] = data:sub(partial+1)
for i = #buffer, 2, -1 do