summaryrefslogtreecommitdiff
path: root/xs_curl.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-12-24 07:05:39 +0100
committerdefault <nobody@localhost>2022-12-24 07:05:39 +0100
commitb564d8bcb79087774e44c1020a707e90e89912e1 (patch)
tree750dfc2bfe26b29c963253219d9be972f8681fe1 /xs_curl.h
parent292d7c3e95265cdca23670cc04f717dd35c90872 (diff)
More curl timeout tweaks.
Diffstat (limited to 'xs_curl.h')
-rw-r--r--xs_curl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/xs_curl.h b/xs_curl.h
index 335c07a..7ecef2d 100644
--- 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 */