summaryrefslogtreecommitdiff
path: root/xs_curl.h
diff options
context:
space:
mode:
authorGravatar default2022-12-24 07:05:39 +0100
committerGravatar default2022-12-24 07:05:39 +0100
commitb564d8bcb79087774e44c1020a707e90e89912e1 (patch)
tree750dfc2bfe26b29c963253219d9be972f8681fe1 /xs_curl.h
parentFixed log level for 'serving actor'. (diff)
downloadpenes-snac2-b564d8bcb79087774e44c1020a707e90e89912e1.tar.gz
penes-snac2-b564d8bcb79087774e44c1020a707e90e89912e1.tar.xz
penes-snac2-b564d8bcb79087774e44c1020a707e90e89912e1.zip
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,
101 101
102 curl_easy_setopt(curl, CURLOPT_URL, url); 102 curl_easy_setopt(curl, CURLOPT_URL, url);
103 103
104#ifdef FORCE_TIMEOUT 104 curl_easy_setopt(curl, CURLOPT_TIMEOUT, 8L);
105 curl_easy_setopt(curl, CURLOPT_TIMEOUT, 5L);
106#endif
107 105
108#ifdef FORCE_HTTP_1_1 106#ifdef FORCE_HTTP_1_1
109 /* force HTTP/1.1 */ 107 /* force HTTP/1.1 */