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 6cbffa1..fd4db14 100644 (file)
@@ -168,7 +168,9 @@ function Server.process( self, client )
                                self:error( thread, 411, luci.http.protocol.statusmsg[411] )
                                break;
                        end
                                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;
                else
                        self:error( thread, 405, luci.http.protocol.statusmsg[405] )
                        break;