Comparison

net/server_epoll.lua @ 10285:bcf61e22f841

net.server_epoll: Ignore unused self argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 29 Sep 2019 15:51:21 +0200
parent 10284:cd669975031b
child 10289:8c59b20f71dc
comparison
equal deleted inserted replaced
10284:cd669975031b 10285:bcf61e22f841
795 from:debug("Linking to %s", to.id); 795 from:debug("Linking to %s", to.id);
796 function from:onincoming(data) 796 function from:onincoming(data)
797 self:pause(); 797 self:pause();
798 to:write(data); 798 to:write(data);
799 end 799 end
800 function to:ondrain() 800 function to:ondrain() -- luacheck: ignore 212/self
801 from:resume(); 801 from:resume();
802 end 802 end
803 from:set_mode(read_size); 803 from:set_mode(read_size);
804 from:set(true, nil); 804 from:set(true, nil);
805 to:set(nil, true); 805 to:set(nil, true);