summaryrefslogtreecommitdiff
path: root/xs_curl.h
diff options
context:
space:
mode:
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 */