Software /
code /
prosody
Comparison
net/http/server.lua @ 6963:e3be91ccca05
net.http.server: Import util.cache
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 03 Dec 2015 16:12:44 +0000 |
parent | 6950:8ab809358922 |
child | 7084:fdbe9ccac17d |
comparison
equal
deleted
inserted
replaced
6961:bd76e73a20c6 | 6963:e3be91ccca05 |
---|---|
9 local s_upper = string.upper; | 9 local s_upper = string.upper; |
10 local setmetatable = setmetatable; | 10 local setmetatable = setmetatable; |
11 local xpcall = xpcall; | 11 local xpcall = xpcall; |
12 local traceback = debug.traceback; | 12 local traceback = debug.traceback; |
13 local tostring = tostring; | 13 local tostring = tostring; |
14 local cache = require "util.cache"; | |
14 local codes = require "net.http.codes"; | 15 local codes = require "net.http.codes"; |
15 | 16 |
16 local _M = {}; | 17 local _M = {}; |
17 | 18 |
18 local sessions = {}; | 19 local sessions = {}; |