Comparison

net/server_epoll.lua @ 7628:7f2159eac697

net.server_epoll: Fix timer returning boolean
author Kim Alvefur <zash@zash.se>
date Tue, 23 Aug 2016 19:23:26 +0200
parent 7627:d8126298c729
child 7629:0fcde9869cc1
comparison
equal deleted inserted replaced
7627:d8126298c729 7628:7f2159eac697
500 self._pausefor = addtimer(t, function () 500 self._pausefor = addtimer(t, function ()
501 self._pausefor = nil; 501 self._pausefor = nil;
502 if self.conn:dirty() then 502 if self.conn:dirty() then
503 self:onreadable(); 503 self:onreadable();
504 end 504 end
505 return self:setflags(true); 505 self:setflags(true);
506 end); 506 end);
507 end 507 end
508 508
509 function interface:onconnect() 509 function interface:onconnect()
510 self.onwriteable = nil; 510 self.onwriteable = nil;