mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
More curl timeout tweaks.
This commit is contained in:
parent
292d7c3e95
commit
b564d8bcb7
1 changed files with 1 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue