From 31daa1b90d60f74327c4c45b8dc4fca025a01afd Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 4 Jul 2014 14:40:44 +0000 Subject: [PATCH] luci-0.11: libs/sgi-uhttpd: ensure to send proper EOF under uhttpd v1 - fixes chromium compatibility --- libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua b/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua index 5915b6980..1e7309919 100644 --- 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) -- 2.11.0