Increase connect timeouts for capabilities that demand short transfer times.
The automatic adjustment sets the connect time to 3 seconds, which might be a bit on the short side sometimes. Also remove the HACK and use CurlTimeoutConnect again. The default is still 10 seconds, but is overridden to be 30 for mesh now (which needs a reconnect for every mesh, since LL does not support connection reuse for mesh). Note that I never saw any successful connect under 8 seconds while I had the connect time out at 30: Over 8 seconds is a sure fail (except for mesh, where in rare cases there were connect times of 15 seconds (never 14 or 16). On quiet servers, the connect time is normally sub-second. This is the bulk of connections for my own SL use.
This commit is contained in:
@@ -644,7 +644,7 @@ bool LLAppViewer::init()
|
||||
AIHTTPTimeoutPolicy policy_tmp(
|
||||
"CurlTimeout* Debug Settings",
|
||||
gSavedSettings.getU32("CurlTimeoutDNSLookup"),
|
||||
/*gSavedSettings.getU32("CurlTimeoutConnect") Temporary HACK: 30 is the current max*/ 30,
|
||||
gSavedSettings.getU32("CurlTimeoutConnect"),
|
||||
gSavedSettings.getU32("CurlTimeoutReplyDelay"),
|
||||
gSavedSettings.getU32("CurlTimeoutLowSpeedTime"),
|
||||
gSavedSettings.getU32("CurlTimeoutLowSpeedLimit"),
|
||||
|
||||
Reference in New Issue
Block a user