You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it shows that a single option is used for two curl_opt.
It's OK for normal connections but for downloading large files, CURLOPT_CONNECTTIMEOUT should be way more than CURLOPT_TIMEOUT
The text was updated successfully, but these errors were encountered:
I'd like to introduce a separate 'connect_timeout' value that defaults to the same value as 'timeout'. For most uses, having these the same is fine.
(Also, I think you mean the other way around? The connection timeout should always be the same, but the regular timeout should be larger for large files.)
Yeah, exactly inverse of what i said 😆 (my mistake)
but yeah, i think a separate connect_timeout value that defaults to the same value as timeout is the best solution
there's this code in source:
it shows that a single option is used for two curl_opt.
It's OK for normal connections but for downloading large files, CURLOPT_CONNECTTIMEOUT should be way more than CURLOPT_TIMEOUT
The text was updated successfully, but these errors were encountered: