Increase timeout for HTTP, fixing some browser problems
This commit is contained in:
parent
45cf10a665
commit
9016ae7ad9
1 changed files with 2 additions and 2 deletions
|
@ -419,8 +419,8 @@ function Server.process(self, client, env)
|
||||||
set_memory_limit(env.config.memlimit)
|
set_memory_limit(env.config.memlimit)
|
||||||
end
|
end
|
||||||
|
|
||||||
client:setsockopt("socket", "rcvtimeo", 5)
|
client:setsockopt("socket", "rcvtimeo", 60)
|
||||||
client:setsockopt("socket", "sndtimeo", 5)
|
client:setsockopt("socket", "sndtimeo", 60)
|
||||||
|
|
||||||
repeat
|
repeat
|
||||||
-- parse headers
|
-- parse headers
|
||||||
|
|
Loading…
Reference in a new issue