mirror of
https://github.com/curl/curl.git
synced 2026-05-16 03:26:21 +03:00
corrected the reuse_fresh condition
This commit is contained in:
parent
89829093ca
commit
7c85be9435
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue