X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fsgi-uhttpd%2Fluasrc%2Fsgi%2Fuhttpd.lua;h=5915b698061d33ad45829c68569d95e192481218;hp=7008222bb7e36ca515ac147ca4f3a9cc11361130;hb=4f65a012952bc4f0996e7e39087ac62ebf490ff8;hpb=be8a41822c51088fc1ed04e27c77bea3e885df1b;ds=sidebyside diff --git a/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua b/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua index 7008222bb..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. ]]-- - 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,