Browse Source

More curl timeout tweaks.

default 2 years ago
parent
commit
b564d8bcb7
1 changed files with 1 additions and 3 deletions
  1. 1 3
      xs_curl.h

+ 1 - 3
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 */