diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-18 15:21:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-18 15:21:30 +0200 |
commit | 33a8994b3cf6aabe428b7cdf6bba7bdf68d9c366 (patch) | |
tree | 8e9e00d11e3355088e816599971d98e13abc038f /net/http/server.lua | |
parent | 34f704bbe74beada74e2be1c1d0e4acc18a86015 (diff) | |
download | prosody-33a8994b3cf6aabe428b7cdf6bba7bdf68d9c366.tar.gz prosody-33a8994b3cf6aabe428b7cdf6bba7bdf68d9c366.zip |
net.http.server: Add luacheck annotations
Diffstat (limited to 'net/http/server.lua')
-rw-r--r-- | net/http/server.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/server.lua b/net/http/server.lua index 93bbffb4..8aa28f5c 100644 --- a/net/http/server.lua +++ b/net/http/server.lua @@ -32,7 +32,7 @@ local function is_wildcard_match(wildcard_event, event) 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 @@ local headerfix = setmetatable({}, { 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) |