From 4f65a012952bc4f0996e7e39087ac62ebf490ff8 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Wed, 15 Dec 2010 01:04:38 +0000 Subject: libs/sgi-uhttpd: move exectime inside handle_request --- libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua b/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua index f48ad7ef9..5915b6980 100644 --- 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, -- cgit v1.2.3