HTTPd: No keep-alive after POST request, because we do not check state
authorSteven Barth <steven@midlink.org>
Sun, 7 Jun 2009 13:51:18 +0000 (13:51 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 7 Jun 2009 13:51:18 +0000 (13:51 +0000)
of incoming data

libs/lucid-http/luasrc/lucid/http/server.lua

index 67e917892ea9d243ffb55467e1601d2ac9c15f66..95484a02f0bdd49c834aecfef45a90f81c010c4c 100644 (file)
@@ -432,6 +432,8 @@ function Server.process(self, client, env)
                        else
                                return self:error(client, 411, statusmsg[411])
                        end
+
+                       close = true
                else
                        return self:error(client, 405, statusmsg[405])
                end