diff options
| author | 2022-12-24 07:05:39 +0100 | |
|---|---|---|
| committer | 2022-12-24 07:05:39 +0100 | |
| commit | b564d8bcb79087774e44c1020a707e90e89912e1 (patch) | |
| tree | 750dfc2bfe26b29c963253219d9be972f8681fe1 | |
| parent | Fixed log level for 'serving actor'. (diff) | |
| download | snac2-b564d8bcb79087774e44c1020a707e90e89912e1.tar.gz snac2-b564d8bcb79087774e44c1020a707e90e89912e1.tar.xz snac2-b564d8bcb79087774e44c1020a707e90e89912e1.zip | |
More curl timeout tweaks.
| -rw-r--r-- | xs_curl.h | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -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 */ |