From: Daniel Stenberg Date: Tue, 2 Mar 2004 14:00:44 +0000 (+0000) Subject: corrected the reuse_fresh condition X-Git-Tag: cares-1_1_0~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c85be9435538b20eb4924e5ec69fe28bca9bc9e;p=curl corrected the reuse_fresh condition --- diff --git a/lib/url.c b/lib/url.c index 7620988aa..91ed90460 100644 --- a/lib/url.c +++ b/lib/url.c @@ -2875,7 +2875,7 @@ static CURLcode CreateConnection(struct SessionHandle *data, we only acknowledge this option if this is not a re-used connection already (which happens due to follow-location or during a HTTP authentication phase). */ - if(data->set.reuse_fresh && !conn->bits.reuse) + if(data->set.reuse_fresh && !data->state.this_is_a_follow) reuse = FALSE; else reuse = ConnectionExists(data, conn, &conn_temp);