-
-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Don't dispose streams in DefaultRestClient (#2652)
* Duplicate file streams before sending * Other code needs to dispose their objects * Another resource to dispose * Stop disposing and copying streams in SendAsync * Fix inverted boolean check Co-authored-by: Dmitry <dimson-n@users.noreply.github.com> * Await results for using statement to work --------- Co-authored-by: Dmitry <dimson-n@users.noreply.github.com>
- Loading branch information
1 parent
69cce5b
commit 84431de
Showing
4 changed files
with
63 additions
and
56 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
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