From f242ed5aba13e432c16e29b606c2c9a899e5fad2 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 7 Jun 2009 13:51:18 +0000 Subject: HTTPd: No keep-alive after POST request, because we do not check state of incoming data --- libs/lucid-http/luasrc/lucid/http/server.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/lucid-http/luasrc/lucid/http/server.lua b/libs/lucid-http/luasrc/lucid/http/server.lua index 67e917892..95484a02f 100644 --- a/libs/lucid-http/luasrc/lucid/http/server.lua +++ b/libs/lucid-http/luasrc/lucid/http/server.lua @@ -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 -- cgit v1.2.3