From: Steven Barth Date: Wed, 27 May 2009 18:26:07 +0000 (+0000) Subject: HTTP-Timeout to 5 seconds X-Git-Tag: 0.9.0~304 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fa25902656c6deaa1b1d8b8276d2c6cdf5686e5e;p=project%2Fluci.git HTTP-Timeout to 5 seconds --- diff --git a/libs/lucid-http/luasrc/lucid/http/server.lua b/libs/lucid-http/luasrc/lucid/http/server.lua index 73239da1b2..008fd1fc2d 100644 --- a/libs/lucid-http/luasrc/lucid/http/server.lua +++ b/libs/lucid-http/luasrc/lucid/http/server.lua @@ -358,8 +358,8 @@ function Server.process(self, client, env) local close = false local stat, code, msg, message, err - client:setsockopt("socket", "rcvtimeo", 15) - client:setsockopt("socket", "sndtimeo", 15) + client:setsockopt("socket", "rcvtimeo", 5) + client:setsockopt("socket", "sndtimeo", 5) repeat -- parse headers