summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-11-03 09:44:38 +0000
committerSteven Barth <steven@midlink.org>2008-11-03 09:44:38 +0000
commit4a15c6ffbade0f9499b4bf7e6bbf64d9e69f4293 (patch)
treeaf3fc9db006c9c8ba30fe50ac9a07eb1d4cc48fc
parent9d67f6db0136d94aeff9ebc15fc5e4abee42b03a (diff)
Always close POST-connections (circumvents some strange browser behaviour in Firefox / Opera)
-rw-r--r--libs/httpd/luasrc/httpd/server.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/httpd/luasrc/httpd/server.lua b/libs/httpd/luasrc/httpd/server.lua
index 6cbffa188e..fd4db14849 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;