File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -383,19 +383,7 @@ where
383383 // downstream reset/errored while the upstream write was blocked
384384 // (e.g. on upstream flow control), bail out so the downstream
385385 // stream handles are dropped promptly
386- let wait_for_cache_fill = ( !serve_from_cache. is_on( ) && support_cache_partial_read)
387- || serve_from_cache. is_miss( ) ;
388- if !wait_for_cache_fill {
389- return Err ( e) ;
390- }
391- // ignore downstream error so that upstream can continue to write cache
392- downstream_state. to_errored( ) ;
393- warn!(
394- "Downstream Error ignored during caching: {}, {}" ,
395- e,
396- self . inner. request_summary( session, ctx)
397- ) ;
398- session. downstream_session. on_proxy_failure( e) ;
386+ return Err ( e) ;
399387 } ,
400388 Err ( e) => {
401389 // mark request done, attempt to drain receive
You can’t perform that action at this time.
0 commit comments