Skip to content
Snippets Groups Projects
Commit aa1c3bb4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

reset the follow location counter in Curl_perform() so that we can follow

new locations on the same connection that was previously followed on
parent 95f0714f
No related branches found
No related tags found
No related merge requests found
......@@ -737,6 +737,9 @@ CURLcode Curl_perform(CURL *curl)
struct connectdata *conn=NULL;
bool port=TRUE; /* allow data->use_port to set port to use */
data->followlocation=0; /* reset the location-follow counter */
data->bits.this_is_a_follow = FALSE; /* reset this */
Curl_pgrsStartNow(data);
do {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment