diff options
author | Steven Barth <steven@midlink.org> | 2009-05-27 18:26:07 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-05-27 18:26:07 +0000 |
commit | fa25902656c6deaa1b1d8b8276d2c6cdf5686e5e (patch) | |
tree | 7fb9ab51df6e32317e2ccff6c1418f8b54038d87 /libs | |
parent | e00ca14463e586425316760f92b53632cf92a336 (diff) |
HTTP-Timeout to 5 seconds
Diffstat (limited to 'libs')
-rw-r--r-- | libs/lucid-http/luasrc/lucid/http/server.lua | 4 |
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 73239da1b..008fd1fc2 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 |