diff options
Diffstat (limited to 'xs_curl.h')
| -rw-r--r-- | xs_curl.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -101,7 +101,9 @@ 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, 5L); | 105 | curl_easy_setopt(curl, CURLOPT_TIMEOUT, 5L); |
| 106 | #endif | ||
| 105 | 107 | ||
| 106 | #ifdef FORCE_HTTP_1_1 | 108 | #ifdef FORCE_HTTP_1_1 |
| 107 | /* force HTTP/1.1 */ | 109 | /* force HTTP/1.1 */ |