Software /
code /
prosody
Comparison
net/http.lua @ 8555:4f0f5b49bb03
vairious: Add annotation when an empty environment is set [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 28 Feb 2018 20:06:26 +0100 |
parent | 8551:2bd2e94a0496 |
child | 8689:c7122fbe1600 |
comparison
equal
deleted
inserted
replaced
8554:12a68e0d0ecf | 8555:4f0f5b49bb03 |
---|---|
25 local error = error | 25 local error = error |
26 | 26 |
27 local log = require "util.logger".init("http"); | 27 local log = require "util.logger".init("http"); |
28 | 28 |
29 local _ENV = nil; | 29 local _ENV = nil; |
30 -- luacheck: std none | |
30 | 31 |
31 local requests = {}; -- Open requests | 32 local requests = {}; -- Open requests |
32 | 33 |
33 local function make_id(req) return (tostring(req):match("%x+$")); end | 34 local function make_id(req) return (tostring(req):match("%x+$")); end |
34 | 35 |