projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b703669
)
luci-0.11: libs/sgi-uhttpd: ensure to send proper EOF under uhttpd v1 - fixes chromiu...
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 4 Jul 2014 14:40:44 +0000
(14:40 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 4 Jul 2014 14:40:44 +0000
(14:40 +0000)
libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
patch
|
blob
|
history
diff --git
a/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
b/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
index 5915b698061d33ad45829c68569d95e192481218..1e730991970c38a3bb815270c3ad3d30ee121260 100644
(file)
--- a/
libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
+++ b/
libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
@@
-112,6
+112,7
@@
function handle_request(env)
elseif id == 4 then
sendc(tostring(data1 or ""))
elseif id == 5 then
+ sendc("")
active = false
elseif id == 6 then
data1:copyz(nixio.stdout, data2)