forked from hashicorp/consul
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make all remote calls accept CancellationTokens
Fixes hashicorp#56 by adding an optional CancellationToken parameter to every method that ends up doing an HTTP request. Some of these seem ill-advised (e.g. allowing the release of a semaphore to be canceled) but in many cases they should only be used if the call can possibly fail and a secondary timeout is needed.
- Loading branch information
1 parent
538285a
commit 33639dc
Showing
30 changed files
with
460 additions
and
650 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
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
Oops, something went wrong.