aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-proxy/src/lib.rs
diff options
context:
space:
mode:
authorEdward Wang <[email protected]>2024-11-04 15:08:56 -0800
committerMatthew (mbg) <[email protected]>2024-11-08 10:14:21 -0800
commit1b430c100e9fb05b89ed4d71b7b3daa8fbc868d0 (patch)
tree879a0ce23bd0fd60e037ab05fb63759d9afe362d /pingora-proxy/src/lib.rs
parent3f564af3ae56e898478e13e71d67d095d7f5dbbd (diff)
downloadpingora-1b430c100e9fb05b89ed4d71b7b3daa8fbc868d0.tar.gz
pingora-1b430c100e9fb05b89ed4d71b7b3daa8fbc868d0.zip
Allow errors from upstream_response_body_filter
Diffstat (limited to 'pingora-proxy/src/lib.rs')
-rw-r--r--pingora-proxy/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pingora-proxy/src/lib.rs b/pingora-proxy/src/lib.rs
index 5621170..f13a1f7 100644
--- a/pingora-proxy/src/lib.rs
+++ b/pingora-proxy/src/lib.rs
@@ -250,7 +250,7 @@ impl<SV> HttpProxy<SV> {
}
HttpTask::Body(data, eos) => self
.inner
- .upstream_response_body_filter(session, data, *eos, ctx),
+ .upstream_response_body_filter(session, data, *eos, ctx)?,
HttpTask::Trailer(Some(trailers)) => self
.inner
.upstream_response_trailer_filter(session, trailers, ctx)?,