Comparison

net/server_epoll.lua @ 9439:988392a56495

net.server_epoll: Fix luacheck annotation
author Kim Alvefur <zash@zash.se>
date Sat, 06 Oct 2018 17:59:23 +0200
parent 9438:916bee81eb7e
child 9441:116a9d0a295c
comparison
equal deleted inserted replaced
9438:916bee81eb7e 9439:988392a56495
671 to:set(nil, true); 671 to:set(nil, true);
672 end 672 end
673 673
674 -- COMPAT 674 -- COMPAT
675 -- net.adns calls this but then replaces :send so this can be a noop 675 -- net.adns calls this but then replaces :send so this can be a noop
676 function interface:set_send(new_send) -- luacheck: ignore/212 676 function interface:set_send(new_send) -- luacheck: ignore 212
677 end 677 end
678 678
679 -- Close all connections and servers 679 -- Close all connections and servers
680 local function closeall() 680 local function closeall()
681 for fd, conn in pairs(fds) do -- luacheck: ignore 213/fd 681 for fd, conn in pairs(fds) do -- luacheck: ignore 213/fd