diff --git a/net/server_epoll.lua b/net/server_epoll.lua index 4670f6700..7b6f46806 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -504,7 +504,7 @@ function interface:onwritable() buffer[i] = nil; end else - data.writebuffer = data:sub(partial+1); + self.writebuffer = data:sub(partial+1); end self:set(nil, true); self:setwritetimeout();