aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-02 14:00:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-02 14:00:44 +0000
commit7c85be9435538b20eb4924e5ec69fe28bca9bc9e (patch)
tree5294cee07416ab732cb3a6e6e883a5cd7c8f8acc /lib/url.c
parent89829093ca10f885a7ec227d2d33e73ad812d6bd (diff)
corrected the reuse_fresh condition
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
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);