mirror of
https://github.com/fangfufu/httpdirfs.git
synced 2024-09-29 21:52:12 +02:00
changed redirection limit
This commit is contained in:
parent
4123372728
commit
5e19e89c80
@ -69,7 +69,7 @@ static CURL *Link_to_curl(Link *link)
|
||||
* only 1 redirection is really needed
|
||||
* - for following directories without the '/'
|
||||
*/
|
||||
curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 3);
|
||||
curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 1);
|
||||
curl_easy_setopt(curl, CURLOPT_URL, link->f_url);
|
||||
curl_easy_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1);
|
||||
curl_easy_setopt(curl, CURLOPT_SHARE, curl_share);
|
||||
|
Loading…
Reference in New Issue
Block a user