net.http.server: Add luacheck annotations
authorKim Alvefur <zash@zash.se>
Thu, 18 Aug 2016 15:21:30 +0200
changeset 7585 e080b8b4f3cb
parent 7584 01d0d466d7be
child 7608 2481ebc7f715
child 7610 d17bc0d0748e
net.http.server: Add luacheck annotations
net/http/server.lua
--- a/net/http/server.lua	Thu Aug 18 15:16:02 2016 +0200
+++ b/net/http/server.lua	Thu Aug 18 15:21:30 2016 +0200
@@ -32,7 +32,7 @@
 end
 
 local _handlers = events._handlers;
-local recent_wildcard_events = cache.new(10000, function (key, value)
+local recent_wildcard_events = cache.new(10000, function (key, value) -- luacheck: ignore 212/value
 	rawset(_handlers, key, nil);
 end);
 
@@ -174,7 +174,7 @@
 	end
 });
 
-function _M.hijack_response(response, listener)
+function _M.hijack_response(response, listener) -- luacheck: ignore
 	error("TODO");
 end
 function handle_request(conn, request, finish_cb)