From: Steven Barth Date: Sun, 7 Jun 2009 13:51:18 +0000 (+0000) Subject: HTTPd: No keep-alive after POST request, because we do not check state X-Git-Tag: 0.9.0~237 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f242ed5aba13e432c16e29b606c2c9a899e5fad2;p=oweals%2Fluci.git HTTPd: No keep-alive after POST request, because we do not check state of incoming data --- 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