summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid-http/luasrc/lucid/http/server.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-06-07 13:51:18 +0000
committerSteven Barth <steven@midlink.org>2009-06-07 13:51:18 +0000
commitf242ed5aba13e432c16e29b606c2c9a899e5fad2 (patch)
tree328d5b98ee1b4faa2077a6b07d9933f4667a1571 /libs/lucid-http/luasrc/lucid/http/server.lua
parent95aa9593c52ce2c73c3803221819ec8353656d2e (diff)
HTTPd: No keep-alive after POST request, because we do not check state
of incoming data
Diffstat (limited to 'libs/lucid-http/luasrc/lucid/http/server.lua')
-rw-r--r--libs/lucid-http/luasrc/lucid/http/server.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/lucid-http/luasrc/lucid/http/server.lua b/libs/lucid-http/luasrc/lucid/http/server.lua
index 67e917892e..95484a02f0 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