Repository navigation
How should the proxy handle an aborted upstream request? #3
Answered
by
profgmanliams
Doge-Designer
asked this question in
Q&A
|
The current path leaves the client waiting until the socket closes. Should the backend cancel immediately when the caller disconnects, or finish and discard the body? |
Answered by
profgmanliams
Oct 29, 2026
Replies: 1 comment
|
Keep the caller in control: cancel as soon as the disconnect is observed, and keep the buffered path for callers that ask for it. That preserves the simple default without making aborts wait. |
0 replies
Answer selected by
profgmanliams
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Keep the caller in control: cancel as soon as the disconnect is observed, and keep the buffered path for callers that ask for it. That preserves the simple default without making aborts wait.