aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/server_epoll.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 3aa37ee6..ab513e93 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -795,10 +795,10 @@ local function link(from, to, read_size)
from:debug("Linking to %s", to.id);
function from:onincoming(data)
self:pause();
- to:write(data);
+ to:write(data);
end
function to:ondrain() -- luacheck: ignore 212/self
- from:resume();
+ from:resume();
end
from:set_mode(read_size);
from:set(true, nil);