-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) Currently, the HTTP client requests do not make use of context.Context so cancellation errors are swallowed without being handed back to the cel event loop, resulting in inability to cancel the input. So check for cancellation at the start of each event loop iteration unconditionally. The mito/lib.HTTP extension will also be altered to include context passing, but this is an optimisation that will reduce delay between SIGINT and event loop cancellation rather than correctness of the cancellation logic. (cherry picked from commit 4bb0e13) Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
- Loading branch information
1 parent
b7e9dbe
commit 1e5f019
Showing
2 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters