From: Steven Barth Date: Mon, 3 Nov 2008 09:44:38 +0000 (+0000) Subject: Always close POST-connections (circumvents some strange browser behaviour in Firefox... X-Git-Tag: 0.9.0~1023 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=4a15c6ffbade0f9499b4bf7e6bbf64d9e69f4293;hp=9d67f6db0136d94aeff9ebc15fc5e4abee42b03a;ds=sidebyside Always close POST-connections (circumvents some strange browser behaviour in Firefox / Opera) --- 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;