Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate cancelled request #104

Open
xlc opened this issue Oct 3, 2023 · 0 comments
Open

Propagate cancelled request #104

xlc opened this issue Oct 3, 2023 · 0 comments

Comments

@xlc
Copy link
Member

xlc commented Oct 3, 2023

Run a Subway, disable internet (i.e turn wifi off), curl request /liveness, ctrl+c it, enable internet, see warning Failed to send response

This is most likely due to that cancel the request from user does not cancel the outgoing request to upstream and then later it tries to send response back and the receiver is already dropped.

Need a way to ensure cancelled request will result the upstream request also get cancelled

tracing::debug!("Request failed: {:?}", err);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant