Skip to content

Propagate cancelled request #104

@xlc

Description

@xlc

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions