-
-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retry the streaming portion of downloads, as well as the setup. (#17298)
As reported in #17294, if an HTTP stream is interrupted after it has opened, the retry that was added in #16798 won't kick in. This change moves the retry up a level to wrap the entire download attempt, and adds a test of recovering from "post-header" errors. Fixes #17294.
- Loading branch information
Showing
2 changed files
with
174 additions
and
88 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