aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-proxy/src/proxy_h2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pingora-proxy/src/proxy_h2.rs')
-rw-r--r--pingora-proxy/src/proxy_h2.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/pingora-proxy/src/proxy_h2.rs b/pingora-proxy/src/proxy_h2.rs
index ba832b2..a27c559 100644
--- a/pingora-proxy/src/proxy_h2.rs
+++ b/pingora-proxy/src/proxy_h2.rs
@@ -409,6 +409,7 @@ impl<SV> HttpProxy<SV> {
.cache_http_task(session, &task, ctx, serve_from_cache)
.await
{
+ session.cache.disable(NoCacheReason::StorageError);
if serve_from_cache.is_miss_body() {
// if the response stream cache body during miss but write fails, it has to
// give up the entire request