summaryrefslogtreecommitdiff
path: root/indra/llcorehttp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2013-07-29 12:42:27 -0400
committerMonty Brandenberg <monty@lindenlab.com>2013-07-29 12:42:27 -0400
commitc9e64823c05a493e6c926deebff1b0aaf0fb50be (patch)
treedc8a9982e6fb566a92e1460e072c407938857c18 /indra/llcorehttp
parentb7f14a7b39610ac1cb6db5fafeab568aa9b662c5 (diff)
SH-4368 Adjust upload timeout parameters for slow networks.
Generally sorted the mesh timeout parameters for maximum transport time (staying with default 30 for connect). 60S for normal meshes, 600S for large. Also documented default option values in httpoptions.h. Useful to have these. In the future, the timeouts might go into standard llsd options where they can be tracked a bit more.
Diffstat (limited to 'indra/llcorehttp')
-rwxr-xr-xindra/llcorehttp/httpoptions.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/llcorehttp/httpoptions.h b/indra/llcorehttp/httpoptions.h
index 04531425d8..f49a3555aa 100755
--- a/indra/llcorehttp/httpoptions.h
+++ b/indra/llcorehttp/httpoptions.h
@@ -68,36 +68,42 @@ protected:
void operator=(const HttpOptions &); // Not defined
public:
+ // Default: false
void setWantHeaders(bool wanted);
bool getWantHeaders() const
{
return mWantHeaders;
}
-
+
+ // Default: 0
void setTrace(int long);
int getTrace() const
{
return mTracing;
}
+ // Default: 30
void setTimeout(unsigned int timeout);
unsigned int getTimeout() const
{
return mTimeout;
}
+ // Default: 0
void setTransferTimeout(unsigned int timeout);
unsigned int getTransferTimeout() const
{
return mTransferTimeout;
}
+ // Default: 8
void setRetries(unsigned int retries);
unsigned int getRetries() const
{
return mRetries;
}
-
+
+ // Default: false
void setUseRetryAfter(bool use_retry);
bool getUseRetryAfter() const
{