From: Daniel Stenberg Date: Thu, 22 Mar 2001 19:14:35 +0000 (+0000) Subject: reset the follow location counter in Curl_perform() so that we can follow X-Git-Tag: upstream/7.37.1~16889 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa1c3bb46dbf50e1c70679a5b804fa08b9d1f795;p=platform%2Fupstream%2Fcurl.git reset the follow location counter in Curl_perform() so that we can follow new locations on the same connection that was previously followed on --- diff --git a/lib/transfer.c b/lib/transfer.c index 59b7996..ce4d5a6 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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 {