From dc583e0d3ff317ad5233a7b1b7947581ce5c8f88 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 26 Jun 2008 19:41:37 +0000 Subject: * libs/httpd: Rewrote daemon controller to increase performance --- libs/httpd/host/runluci | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/httpd/host') diff --git a/libs/httpd/host/runluci b/libs/httpd/host/runluci index b82efce1c..1d5812679 100755 --- a/libs/httpd/host/runluci +++ b/libs/httpd/host/runluci @@ -27,7 +27,7 @@ vhost:set_handler("/luci", lucihandler) io.stderr:write("Starting LuCI HTTPD on port " .. PORT .. "...\n") io.stderr:write("Point your browser to http://localhost:" .. PORT .. "/luci\n") -daemon = luci.httpd.Daemon() +--daemon = luci.httpd.Daemon() --daemon.debug = true -daemon:register(serversocket, server:create_daemon_handlers()) -daemon:run() +luci.httpd.register(serversocket, server:create_daemon_handlers()) +luci.httpd.run() -- cgit v1.2.3