You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: No CI test checks that a mid-stream upstream failure reaches the client as an error #1552
No test checks that a response broken mid-stream reaches the client as an error. #1543 slipped through this gap: the forward proxy ends a reset SSE stream as a clean, complete 200.
What exists today
TestForwardProxy_TruncatedResponse_RecordsUpstreamFailure and TestReverseProxy_TruncatedResponse_RecordsUpstreamFailure cover the buffered path only: a body promised by Content-Length and cut short, which becomes a 502.
TestForwardProxy_FallbackBuffered_BufferingFailures covers the buffered SSE fallback.
Nothing covers a failure after headers are sent on the streaming relay, the passthrough copy, or the skip-hosts copy.
Activity
fix: Abort the client connection when an upstream stream breaks mid-b…