summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/httpd/luasrc/httpd.lua1
-rw-r--r--libs/httpd/luasrc/httpd/handler/luci.lua2
2 files changed, 1 insertions, 2 deletions
diff --git a/libs/httpd/luasrc/httpd.lua b/libs/httpd/luasrc/httpd.lua
index 541063cc7..75f5132e0 100644
--- a/libs/httpd/luasrc/httpd.lua
+++ b/libs/httpd/luasrc/httpd.lua
@@ -121,7 +121,6 @@ function step()
end
if idle then
- collectgarbage()
socket.sleep(THREAD_IDLEWAIT)
end
end
diff --git a/libs/httpd/luasrc/httpd/handler/luci.lua b/libs/httpd/luasrc/httpd/handler/luci.lua
index 320ab4c10..737abd479 100644
--- a/libs/httpd/luasrc/httpd/handler/luci.lua
+++ b/libs/httpd/luasrc/httpd/handler/luci.lua
@@ -84,7 +84,7 @@ function Luci.handle_get(self, request, sourcein, sinkerr)
return true
elseif id == 5 then
active = false
- return true
+ return nil
elseif id == 4 then
return data
end