mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
corrected the reuse_fresh condition
This commit is contained in:
parent
89829093ca
commit
7c85be9435
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user