1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

new locations on the same connection that was previously followed on
This commit is contained in:
Daniel Stenberg 2001-03-22 19:14:35 +00:00
parent 95f0714ff8
commit aa1c3bb46d

View File

@ -737,6 +737,9 @@ CURLcode Curl_perform(CURL *curl)
struct connectdata *conn=NULL; struct connectdata *conn=NULL;
bool port=TRUE; /* allow data->use_port to set port to use */ 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); Curl_pgrsStartNow(data);
do { do {