mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-24 00:23:38 +00:00
Backport from xs.
This commit is contained in:
parent
d8b7991950
commit
97e040e048
2 changed files with 3 additions and 1 deletions
|
@ -101,7 +101,9 @@ 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
|
||||
|
||||
#ifdef FORCE_HTTP_1_1
|
||||
/* force HTTP/1.1 */
|
||||
|
|
|
@ -1 +1 @@
|
|||
/* 033e3f6bbc0823b534d8a5f6887f54576fde1b86 */
|
||||
/* ae969c59232f4907369f10b84796456388fcf109 */
|
||||
|
|
Loading…
Reference in a new issue