curl / Mailing Lists / curl-library / Single Mail

curl-library

Reduce CURLOPT_CONNECTTIMEOUT

From: Weixi Li via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 10 Apr 2019 01:10:51 +0000

The default CURLOPT_CONNECTTIMEOUT value is 300 seconds. We are using libcurl in a FTP client behind a corporate proxy, and would like to choose a smaller connection timeout.

Can anyone comment on if it would be safe to reduce the timeout to 30 seconds or even lower? What was the rationale for the default value to be 300 seconds (a seemingly rather large value)?

Thanks.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-04-10