projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* libs/web: Reworked authentication
[project/luci.git]
/
libs
/
httpd
/
luasrc
/
httpd
/
handler
/
luci.lua
diff --git
a/libs/httpd/luasrc/httpd/handler/luci.lua
b/libs/httpd/luasrc/httpd/handler/luci.lua
index 232883256e4e295d9931ff5efb4254266f6e9744..ac3ed78d0acdcfef1c2e8a42d1ec3dc763639752 100644
(file)
--- a/
libs/httpd/luasrc/httpd/handler/luci.lua
+++ b/
libs/httpd/luasrc/httpd/handler/luci.lua
@@
-32,7
+32,6
@@
end
function Luci.handle_head(self, ...)
local response, sourceout = self:handle_get(...)
function Luci.handle_head(self, ...)
local response, sourceout = self:handle_get(...)
- self.running = self.running - 1
return response
end
return response
end
@@
-67,7
+66,6
@@
function Luci.handle_get(self, request, sourcein, sinkerr)
status = 500
headers["Content-Type"] = "text/plain"
local err = {id}
status = 500
headers["Content-Type"] = "text/plain"
local err = {id}
- self.running = self.running - 1
return Response( status, headers ), function() return table.remove(err) end
end
return Response( status, headers ), function() return table.remove(err) end
end