diff options
author | Brad Linden <46733234+brad-linden@users.noreply.github.com> | 2024-09-23 13:31:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 13:31:55 -0700 |
commit | d8e52ec001c476a2320f2d5caceb813465d707e4 (patch) | |
tree | 2fe671253d83620fba0e0b1c6c488997b558a7ef /indra/newview/llhttpretrypolicy.cpp | |
parent | 3747dd9a085e4d75ec21c8048f1269bc3f29e582 (diff) | |
parent | 38916ebf367aa400d8151d78204e714d40e8c323 (diff) |
Merge pull request #940 from secondlife/release/maint-b
Maintenance B merges into develop
Diffstat (limited to 'indra/newview/llhttpretrypolicy.cpp')
-rw-r--r-- | indra/newview/llhttpretrypolicy.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llhttpretrypolicy.cpp b/indra/newview/llhttpretrypolicy.cpp index 3e55030610..c5692554c6 100644 --- a/indra/newview/llhttpretrypolicy.cpp +++ b/indra/newview/llhttpretrypolicy.cpp @@ -91,14 +91,14 @@ void LLAdaptiveRetryPolicy::onSuccess() void LLAdaptiveRetryPolicy::onFailure(S32 status, const LLSD& headers) { - F32 retry_header_time; + F32 retry_header_time{}; bool has_retry_header_time = getRetryAfter(headers,retry_header_time); onFailureCommon(status, has_retry_header_time, retry_header_time); } void LLAdaptiveRetryPolicy::onFailure(const LLCore::HttpResponse *response) { - F32 retry_header_time; + F32 retry_header_time{}; const LLCore::HttpHeaders::ptr_t headers = response->getHeaders(); bool has_retry_header_time = getRetryAfter(headers,retry_header_time); onFailureCommon(response->getStatus().getType(), has_retry_header_time, retry_header_time); @@ -184,4 +184,3 @@ bool LLAdaptiveRetryPolicy::getSecondsUntilRetryAfter(const std::string& retry_a return true; } - |