From 29d7f341b5bc7eff0a5ab0ae591f0f82d62ddd57 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sat, 22 Jun 2024 20:57:51 -0400 Subject: [PATCH] Cleanup --- indra/newview/llhttpretrypolicy.cpp | 9 --------- indra/newview/llhttpretrypolicy.h | 6 ------ 2 files changed, 15 deletions(-) diff --git a/indra/newview/llhttpretrypolicy.cpp b/indra/newview/llhttpretrypolicy.cpp index 16718dd05ad..e0f72df9099 100644 --- a/indra/newview/llhttpretrypolicy.cpp +++ b/indra/newview/llhttpretrypolicy.cpp @@ -64,15 +64,6 @@ void LLAdaptiveRetryPolicy::reset() init(); } -// [SL:KB] - Patch: Appearance-AISFilter | Checked: 2015-06-27 (Catznip-3.7) -// virtual -void LLAdaptiveRetryPolicy::cancelRetry() -{ - // This relies on the current implementation where mShouldRetry is set to true only on initialization - mShouldRetry = false; -} -// [/SL:KB] - bool LLAdaptiveRetryPolicy::getRetryAfter(const LLSD& headers, F32& retry_header_time) { return (headers.has(HTTP_IN_HEADER_RETRY_AFTER) diff --git a/indra/newview/llhttpretrypolicy.h b/indra/newview/llhttpretrypolicy.h index 138e542fcc4..9290804c820 100644 --- a/indra/newview/llhttpretrypolicy.h +++ b/indra/newview/llhttpretrypolicy.h @@ -55,9 +55,6 @@ class LLHTTPRetryPolicy: public LLThreadSafeRefCount virtual bool shouldRetry(F32& seconds_to_wait) const = 0; virtual void reset() = 0; -// [SL:KB] - Patch: Appearance-AISFilter | Checked: 2015-06-27 (Catznip-3.7) - virtual void cancelRetry() = 0; -// [/SL:KB] }; // Very general policy with geometric back-off after failures, @@ -71,9 +68,6 @@ class LLAdaptiveRetryPolicy final : public LLHTTPRetryPolicy void onSuccess(); void reset(); -// [SL:KB] - Patch: Appearance-AISFilter | Checked: 2015-06-27 (Catznip-3.7) - /*virtual*/ void cancelRetry(); -// [/SL:KB] // virtual void onFailure(S32 status, const LLSD& headers); -- GitLab