Increase timeout for HTTP, fixing some browser problems
[project/luci.git] / libs / lucid-http / luasrc / lucid / http / server.lua
index eb6f6f5..4504179 100644 (file)
@@ -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