Skip to content

Commit 216a633

Browse files
committed
.curlrc: Remove max-time
Don’t globally timeout cURL operations without knowing the size of the files being downloaded. Hat tip: @necolas.
1 parent 7197c57 commit 216a633

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.curlrc

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# Disguise as IE 9 on Windows 7
1+
# Disguise as IE 9 on Windows 7.
22
user-agent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
33

4-
# When following a redirect, automatically set the previous URL as referer
4+
# When following a redirect, automatically set the previous URL as referer.
55
referer = ";auto"
6-
7-
# Wait 60 seconds before timing out
8-
connect-timeout = 60

0 commit comments

Comments
 (0)