File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- 68e9b2ed27b468db18cb32712359f19d0c45926a
1+ 886e93a1a72624b4b23d164426142d0a1b431b75
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ pub mod subrequest;
8888
8989use subrequest:: { BodyMode , Ctx as SubrequestCtx } ;
9090
91- pub use proxy_cache:: range_filter:: { range_header_filter, RangeType } ;
91+ pub use proxy_cache:: range_filter:: { range_header_filter, MultiRangeInfo , RangeType } ;
9292pub use proxy_purge:: PurgeStatus ;
9393pub use proxy_trait:: { FailToProxy , ProxyHttp } ;
9494
Original file line number Diff line number Diff line change @@ -1235,7 +1235,7 @@ pub mod range_filter {
12351235 let mut rng: rand:: prelude:: ThreadRng = rand:: thread_rng ( ) ;
12361236 format ! ( "{:016x}" , rng. gen :: <u64 >( ) )
12371237 }
1238- fn calculate_multipart_length ( & self ) -> usize {
1238+ pub fn calculate_multipart_length ( & self ) -> usize {
12391239 let mut total_length = 0 ;
12401240 let content_type = self . content_type . as_ref ( ) ;
12411241 for range in self . ranges . clone ( ) {
You can’t perform that action at this time.
0 commit comments