-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adhere to request.Context when roundtripping on a stream (#2796)
* Adhere to request.Context when roundtripping on a stream This allows HTTP request timeout and cancellation to work. Fixes #2533 * Attempt to cancel the read by setting the read deadline * Don't spawn a goroutine in read --------- Co-authored-by: Marco Munizaga <[email protected]>
- Loading branch information
Showing
2 changed files
with
64 additions
and
1 deletion.
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