From 7c85be9435538b20eb4924e5ec69fe28bca9bc9e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 2 Mar 2004 14:00:44 +0000 Subject: corrected the reuse_fresh condition --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3