Searched refs:maxredirs (Results 1 – 8 of 8) sorted by relevance
81 long maxredirs; member
36 config->maxredirs = DEFAULT_MAXREDIRS; in config_init()
779 err = str2num(&config->maxredirs, nextarg); in getparameter()782 if(config->maxredirs < -1) in getparameter()
1418 my_setopt(curl, CURLOPT_MAXREDIRS, config->maxredirs); in single_transfer()
1577 if((data->set.maxredirs != -1) && in Curl_follow()1578 (data->set.followlocation >= data->set.maxredirs)) { in Curl_follow()1638 failf(data, "Maximum (%ld) redirects followed", data->set.maxredirs); in Curl_follow()
1612 long maxredirs; /* maximum no. of http(s) redirects to follow, set to -1 member
595 data->set.maxredirs = arg; in Curl_vsetopt()
488 set->maxredirs = -1; /* allow any amount by default */ in Curl_init_userdefined()