From 4a15c6ffbade0f9499b4bf7e6bbf64d9e69f4293 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 3 Nov 2008 09:44:38 +0000 Subject: Always close POST-connections (circumvents some strange browser behaviour in Firefox / Opera) --- libs/httpd/luasrc/httpd/server.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/httpd/luasrc') diff --git a/libs/httpd/luasrc/httpd/server.lua b/libs/httpd/luasrc/httpd/server.lua index 6cbffa188..fd4db1484 100644 --- a/libs/httpd/luasrc/httpd/server.lua +++ b/libs/httpd/luasrc/httpd/server.lua @@ -168,7 +168,9 @@ function Server.process( self, client ) self:error( thread, 411, luci.http.protocol.statusmsg[411] ) break; end - + + -- FIXME: Close for POST requests + close = true else self:error( thread, 405, luci.http.protocol.statusmsg[405] ) break; -- cgit v1.2.3