aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-proxy/src/proxy_h1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pingora-proxy/src/proxy_h1.rs')
-rw-r--r--pingora-proxy/src/proxy_h1.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/pingora-proxy/src/proxy_h1.rs b/pingora-proxy/src/proxy_h1.rs
index d323562..580b070 100644
--- a/pingora-proxy/src/proxy_h1.rs
+++ b/pingora-proxy/src/proxy_h1.rs
@@ -492,10 +492,9 @@ impl<SV> HttpProxy<SV> {
ctx,
);
if !session.ignore_downstream_range {
- let range_type = proxy_cache::range_filter::range_header_filter(
- session.req_header(),
- &mut header,
- );
+ let range_type =
+ self.inner
+ .range_header_filter(session.req_header(), &mut header, ctx);
range_body_filter.set(range_type);
}
}