Changeset

9995:8d46ecc4bd0c

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 04 May 2019 04:33:41 +0200
parents 9993:02a41315d275 (current diff) 9994:524b8cd76780 (diff)
children 9996:9bb1bed3e8e3
files net/server_epoll.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_epoll.lua	Fri May 03 20:54:24 2019 +0200
+++ b/net/server_epoll.lua	Sat May 04 04:33:41 2019 +0200
@@ -596,10 +596,10 @@
 	self:set(false);
 	self._pausefor = addtimer(t, function ()
 		self._pausefor = nil;
+		self:set(true);
 		if self.conn and self.conn:dirty() then
 			self:onreadable();
 		end
-		self:set(true);
 	end);
 end