Changeset

7582:e080b8b4f3cb

net.http.server: Add luacheck annotations
author Kim Alvefur <zash@zash.se>
date Thu, 18 Aug 2016 15:21:30 +0200
parents 7581:01d0d466d7be
children 7605:2481ebc7f715 7607:d17bc0d0748e
files net/http/server.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)