-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
current download code was using http.client timeout, that will interrupt reading of the response body, breaking slow downloads or very large files. This patch modified the http client to detect idle downloads, and fail after 30 seconds of innactivity. It still keeps a global timeout of 5 minutes.
- Loading branch information
Antonio Ojea
committed
Jun 28, 2021
1 parent
9bd1887
commit 19f47d4
Showing
1 changed file
with
31 additions
and
5 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