aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-04 04:33:41 +0200
committerKim Alvefur <zash@zash.se>2019-05-04 04:33:41 +0200
commit6384747f765d7a443030b1886891980ea41ecf96 (patch)
tree2231f627acbd1e0e7d9889e88c3b82cead6b3119 /net/server_epoll.lua
parent690c6a4eb240ede63cf7a31007c25df29fa123f2 (diff)
parent36957928e1a7911c6dd19e58020c85512b47795d (diff)
downloadprosody-6384747f765d7a443030b1886891980ea41ecf96.tar.gz
prosody-6384747f765d7a443030b1886891980ea41ecf96.zip
Merge 0.11->trunk
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index be0a5b6a..5f62d931 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -596,10 +596,10 @@ function interface:pausefor(t)
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