diff options
author | Steven Barth <steven@midlink.org> | 2008-06-26 19:41:37 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-26 19:41:37 +0000 |
commit | dc583e0d3ff317ad5233a7b1b7947581ce5c8f88 (patch) | |
tree | 994b8ba0b5ad188b1cd6d65f5d378f0331caca97 /libs/httpd/host | |
parent | 3346f8fccd5bfbc357bc17102c7776218d94f13c (diff) |
* libs/httpd: Rewrote daemon controller to increase performance
Diffstat (limited to 'libs/httpd/host')
-rwxr-xr-x | libs/httpd/host/runluci | 6 |
1 files changed, 3 insertions, 3 deletions
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() |