summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid-http/luasrc/lucid/http
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-07-28 11:59:13 +0000
committerSteven Barth <steven@midlink.org>2009-07-28 11:59:13 +0000
commit9016ae7ad9042b9426c1421be18e4a421ed47499 (patch)
tree1ee97b22409216915fa1ed55bc0d2e33e818a045 /libs/lucid-http/luasrc/lucid/http
parent45cf10a665c6b7434cd44659426217d80865b3e1 (diff)
Increase timeout for HTTP, fixing some browser problems
Diffstat (limited to 'libs/lucid-http/luasrc/lucid/http')
-rw-r--r--libs/lucid-http/luasrc/lucid/http/server.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/lucid-http/luasrc/lucid/http/server.lua b/libs/lucid-http/luasrc/lucid/http/server.lua
index eb6f6f54f8..450417995d 100644
--- a/libs/lucid-http/luasrc/lucid/http/server.lua
+++ b/libs/lucid-http/luasrc/lucid/http/server.lua
@@ -419,8 +419,8 @@ function Server.process(self, client, env)
set_memory_limit(env.config.memlimit)
end
- client:setsockopt("socket", "rcvtimeo", 5)
- client:setsockopt("socket", "sndtimeo", 5)
+ client:setsockopt("socket", "rcvtimeo", 60)
+ client:setsockopt("socket", "sndtimeo", 60)
repeat
-- parse headers