Mercurial > prosody-hg
diff net/http.lua @ 8730:de74bc49385e
net.http: Import setmetatable into local scope (fixes #1125)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 06 Apr 2018 01:42:35 +0200 |
| parents | e2919978673e |
| children | 6063f9211fd1 |
line wrap: on
line diff
--- a/net/http.lua Tue Apr 03 00:08:30 2018 +0200 +++ b/net/http.lua Fri Apr 06 01:42:35 2018 +0200 @@ -22,6 +22,7 @@ local tonumber, tostring, xpcall, traceback = tonumber, tostring, xpcall, debug.traceback; local error = error +local setmetatable = setmetatable; local log = require "util.logger".init("http");
