diff options
| author | Monty Brandenberg <monty@lindenlab.com> | 2013-06-20 19:18:39 -0400 |
|---|---|---|
| committer | Monty Brandenberg <monty@lindenlab.com> | 2013-06-20 19:18:39 -0400 |
| commit | d6cbcd591aea32357d50b266efe8a95754302cbf (patch) | |
| tree | 5772b23421187c4fe4c52d580a93fb878f75348c /indra/llcorehttp/httpoptions.h | |
| parent | d6741a4fc088632c179f767df240953fc4f7474f (diff) | |
SH-4257 Preparation for a new cap grant: GetMesh2
Mesh repo is using three policy classes now: one for
large objects, one for GetMesh2 regions, one for
GetMesh regions. It's also detecting the presence
of the cap and using the correct class. Class
initialization cleaned up significantly in llappcorehttp
using data-directed code. Pulled in the changes to
HttpHeader done for sunshine-internal then did a
refactoring pass on the header callback which now
uses a unified approach to clean up and deliver
header information to all interested parties. Added
support for using Retry-After header information on
503 retries.
Diffstat (limited to 'indra/llcorehttp/httpoptions.h')
| -rwxr-xr-x | indra/llcorehttp/httpoptions.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/llcorehttp/httpoptions.h b/indra/llcorehttp/httpoptions.h index 623d71d3e6..04531425d8 100755 --- a/indra/llcorehttp/httpoptions.h +++ b/indra/llcorehttp/httpoptions.h @@ -98,13 +98,19 @@ public: return mRetries; } + void setUseRetryAfter(bool use_retry); + bool getUseRetryAfter() const + { + return mUseRetryAfter; + } + protected: bool mWantHeaders; int mTracing; unsigned int mTimeout; unsigned int mTransferTimeout; unsigned int mRetries; - + bool mUseRetryAfter; }; // end class HttpOptions |
