diff options
author | Matthew Gumport <[email protected]> | 2024-12-13 15:07:12 -0800 |
---|---|---|
committer | Matthew Gumport <[email protected]> | 2024-12-13 15:07:12 -0800 |
commit | a5c03fa60ac0a5b814ea9082474dd17667a4571b (patch) | |
tree | 5130d44671578701f3d1c66f95804aface7e236d /pingora-proxy/src/lib.rs | |
parent | c429adaad6564e544659dedf316ee0d94e8a98c6 (diff) | |
download | pingora-bleeper-yuchen-9df2f3f6e6b919a632b08af4584a1c1a3bcee0fd.tar.gz pingora-bleeper-yuchen-9df2f3f6e6b919a632b08af4584a1c1a3bcee0fd.zip |
add range_header_filter to proxy traitbleeper-yuchen-9df2f3f6e6b919a632b08af4584a1c1a3bcee0fd
This makes the `range_header_filter` overridable. The new default implementation
is what we were doing instead of calling a hook.
Diffstat (limited to 'pingora-proxy/src/lib.rs')
-rw-r--r-- | pingora-proxy/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pingora-proxy/src/lib.rs b/pingora-proxy/src/lib.rs index bf4d4ec..28608cd 100644 --- a/pingora-proxy/src/lib.rs +++ b/pingora-proxy/src/lib.rs @@ -78,6 +78,7 @@ pub mod subrequest; use subrequest::Ctx as SubReqCtx; +pub use proxy_cache::range_filter::{range_header_filter, RangeType}; pub use proxy_purge::PurgeStatus; pub use proxy_trait::ProxyHttp; |