Searched refs:maxredirs (Results 1 – 8 of 8) sorted by relevance
76 long maxredirs; member
39 config->maxredirs = DEFAULT_MAXREDIRS; in config_init()
1135 err = str2num(&config->maxredirs, nextarg); in getparameter()1138 if(config->maxredirs < -1) in getparameter()
1683 my_setopt(curl, CURLOPT_MAXREDIRS, config->maxredirs); in single_transfer()
1523 if((data->set.maxredirs != -1) && in Curl_follow()1524 (data->state.followlocation >= data->set.maxredirs)) { in Curl_follow()1659 failf(data, "Maximum (%ld) redirects followed", data->set.maxredirs); in Curl_follow()
1642 long maxredirs; /* maximum no. of http(s) redirects to follow, set to -1 member
636 data->set.maxredirs = arg; in Curl_vsetopt()
498 set->maxredirs = 30; /* sensible default */ in Curl_init_userdefined()