From af18067e75c3b6d9bbfa31b7ac844e6d3c9013e0 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 27 Aug 2008 17:45:58 +0000 Subject: [PATCH] Fix some synchronization issues --- libs/httpd/luasrc/httpd.lua | 1 - libs/httpd/luasrc/httpd/handler/luci.lua | 2 +- 2 files changed, 1 insertion(+), 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 -- 2.11.0