projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e3cc9a
)
libs/sgi-uhttpd: move exectime inside handle_request
author
Manuel Munz
<freifunk@somakoma.de>
Wed, 15 Dec 2010 01:04:38 +0000
(
01:04
+0000)
committer
Manuel Munz
<freifunk@somakoma.de>
Wed, 15 Dec 2010 01:04:38 +0000
(
01:04
+0000)
libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
patch
|
blob
|
history
diff --git
a/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
b/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
index f48ad7ef9bd827bf7107134aa654a1eaa0819277..5915b698061d33ad45829c68569d95e192481218 100644
(file)
--- a/
libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
+++ b/
libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
@@
-17,7
+17,6
@@
limitations under the License.
]]--
-exectime = os.clock()
require "nixio.util"
require "luci.http"
require "luci.sys"
@@
-25,6
+24,7
@@
require "luci.dispatcher"
require "luci.ltn12"
function handle_request(env)
+ exectime = os.clock()
local renv = {
CONTENT_LENGTH = env.CONTENT_LENGTH,
CONTENT_TYPE = env.CONTENT_TYPE,