diff options
author | Steven Barth <steven@midlink.org> | 2008-11-03 09:44:38 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-11-03 09:44:38 +0000 |
commit | 4a15c6ffbade0f9499b4bf7e6bbf64d9e69f4293 (patch) | |
tree | af3fc9db006c9c8ba30fe50ac9a07eb1d4cc48fc /libs/httpd/luasrc | |
parent | 9d67f6db0136d94aeff9ebc15fc5e4abee42b03a (diff) |
Always close POST-connections (circumvents some strange browser behaviour in Firefox / Opera)
Diffstat (limited to 'libs/httpd/luasrc')
-rw-r--r-- | libs/httpd/luasrc/httpd/server.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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; |