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 67e9178..95484a0 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