summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-uhttpd
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2010-12-15 01:04:38 +0000
committerManuel Munz <freifunk@somakoma.de>2010-12-15 01:04:38 +0000
commit4f65a012952bc4f0996e7e39087ac62ebf490ff8 (patch)
tree0c88cc17131ea5e481f324761e5fd5b3a12bc99b /libs/sgi-uhttpd
parent4e3cc9a8861347be2c96cb70adbde2a4f9fac75f (diff)
libs/sgi-uhttpd: move exectime inside handle_request
Diffstat (limited to 'libs/sgi-uhttpd')
-rw-r--r--libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua2
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,