projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e00ca14
)
HTTP-Timeout to 5 seconds
author
Steven Barth
<steven@midlink.org>
Wed, 27 May 2009 18:26:07 +0000
(18:26 +0000)
committer
Steven Barth
<steven@midlink.org>
Wed, 27 May 2009 18:26:07 +0000
(18:26 +0000)
libs/lucid-http/luasrc/lucid/http/server.lua
patch
|
blob
|
history
diff --git
a/libs/lucid-http/luasrc/lucid/http/server.lua
b/libs/lucid-http/luasrc/lucid/http/server.lua
index 73239da1b2fd0cae3e6e86a033969e93855ce8f5..008fd1fc2d84006e4e43a1078c8071c3b7dee54f 100644
(file)
--- 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",
1
5)
- client:setsockopt("socket", "sndtimeo",
1
5)
+ client:setsockopt("socket", "rcvtimeo", 5)
+ client:setsockopt("socket", "sndtimeo", 5)
repeat
-- parse headers