diff options
author | Manuel Munz <freifunk@somakoma.de> | 2010-12-15 01:04:38 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2010-12-15 01:04:38 +0000 |
commit | 4f65a012952bc4f0996e7e39087ac62ebf490ff8 (patch) | |
tree | 0c88cc17131ea5e481f324761e5fd5b3a12bc99b /libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua | |
parent | 4e3cc9a8861347be2c96cb70adbde2a4f9fac75f (diff) |
libs/sgi-uhttpd: move exectime inside handle_request
Diffstat (limited to 'libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua')
-rw-r--r-- | libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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, |