Lines Matching refs:newurl
712 Curl_safefree(data->req.newurl); in multi_done()
1837 char *newurl, /* the Location: string */ argument
1842 (void)newurl;
1909 Curl_is_absolute_url(newurl, NULL, 0, FALSE)) {
1916 uc = curl_url_set(data->state.uh, CURLUPART_URL, newurl, (unsigned int)
1930 newurl = strdup(newurl);
1931 if(!newurl)
1935 uc = curl_url_get(data->state.uh, CURLUPART_URL, &newurl, 0);
1953 free(newurl);
1969 free(newurl);
1991 data->info.wouldredirect = newurl;
2006 data->state.url = newurl;
2127 char *newurl = NULL; local
2165 CURLcode ret = Curl_retry_request(data, &newurl);
2167 retry = !!newurl;
2180 CURLcode ret = Curl_retry_request(data, &newurl);
2188 if(!newurl)
2190 newurl = strdup(data->state.url);
2224 if(data->req.newurl || retry) {
2229 free(newurl);
2230 newurl = data->req.newurl;
2231 data->req.newurl = NULL;
2238 result = multi_follow(data, newurl, follow);
2250 free(newurl);
2251 newurl = data->req.location;
2253 result = multi_follow(data, newurl, FOLLOW_FAKE);
2272 free(newurl);
2362 char *newurl = NULL; local
2366 drc = Curl_retry_request(data, &newurl);
2378 if(newurl) {
2381 drc = multi_follow(data, newurl, follow);
2401 free(newurl);