commit b564d8b

default  ·  2022-12-24 06:05:39 +0000 UTC
parent 292d7c3
More curl timeout tweaks.
1 files changed,  +1, -3
+1, -3
 1@@ -101,9 +101,7 @@ d_char *xs_http_request(char *method, char *url, d_char *headers,
 2 
 3     curl_easy_setopt(curl, CURLOPT_URL, url);
 4 
 5-#ifdef FORCE_TIMEOUT
 6-    curl_easy_setopt(curl, CURLOPT_TIMEOUT, 5L);
 7-#endif
 8+    curl_easy_setopt(curl, CURLOPT_TIMEOUT, 8L);
 9 
10 #ifdef FORCE_HTTP_1_1
11     /* force HTTP/1.1 */