summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/sgi/cgi.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/luasrc/sgi/cgi.lua')
-rw-r--r--modules/luci-base/luasrc/sgi/cgi.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/luasrc/sgi/cgi.lua b/modules/luci-base/luasrc/sgi/cgi.lua
index 68ae17a9eb..400db4710d 100644
--- a/modules/luci-base/luasrc/sgi/cgi.lua
+++ b/modules/luci-base/luasrc/sgi/cgi.lua
@@ -35,11 +35,11 @@ function run()
limitsource(io.stdin, tonumber(luci.sys.getenv("CONTENT_LENGTH"))),
ltn12.sink.file(io.stderr)
)
-
+
local x = coroutine.create(luci.dispatcher.httpdispatch)
local hcache = ""
local active = true
-
+
while coroutine.status(x) ~= "dead" do
local res, id, data1, data2 = coroutine.resume(x, r)