From 9016ae7ad9042b9426c1421be18e4a421ed47499 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 28 Jul 2009 11:59:13 +0000 Subject: [PATCH] Increase timeout for HTTP, fixing some browser problems --- libs/lucid-http/luasrc/lucid/http/server.lua | 4 ++-- 1 file 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 eb6f6f54f..450417995 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 -- 2.25.1