commit b564d8bcb79087774e44c1020a707e90e89912e1
parent 292d7c3e95265cdca23670cc04f717dd35c90872
Author: default <nobody@localhost>
Date: Sat, 24 Dec 2022 07:05:39 +0100
More curl timeout tweaks.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/xs_curl.h b/xs_curl.h
@@ -101,9 +101,7 @@ d_char *xs_http_request(char *method, char *url, d_char *headers,
curl_easy_setopt(curl, CURLOPT_URL, url);
-#ifdef FORCE_TIMEOUT
- curl_easy_setopt(curl, CURLOPT_TIMEOUT, 5L);
-#endif
+ curl_easy_setopt(curl, CURLOPT_TIMEOUT, 8L);
#ifdef FORCE_HTTP_1_1
/* force HTTP/1.1 */