Always close POST-connections (circumvents some strange browser behaviour in Firefox...
authorSteven Barth <steven@midlink.org>
Mon, 3 Nov 2008 09:44:38 +0000 (09:44 +0000)
committerSteven Barth <steven@midlink.org>
Mon, 3 Nov 2008 09:44:38 +0000 (09:44 +0000)
libs/httpd/luasrc/httpd/server.lua

index 6cbffa188e79bdb10aace4e412824f5658b42186..fd4db14849fdeeaefcca4cf73df0103ddd84a789 100644 (file)
@@ -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;