More curl timeout tweaks.

This commit is contained in:
default 2022-12-24 07:05:39 +01:00
parent 292d7c3e95
commit b564d8bcb7

View file

@ -101,9 +101,7 @@ d_char *xs_http_request(char *method, char *url, d_char *headers,
curl_easy_setopt(curl, CURLOPT_URL, url); curl_easy_setopt(curl, CURLOPT_URL, url);
#ifdef FORCE_TIMEOUT curl_easy_setopt(curl, CURLOPT_TIMEOUT, 8L);
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 5L);
#endif
#ifdef FORCE_HTTP_1_1 #ifdef FORCE_HTTP_1_1
/* force HTTP/1.1 */ /* force HTTP/1.1 */