mirror of
https://github.com/curl/curl.git
synced 2026-07-24 14:37:20 +03:00
mark connect failures as non-connected when ConnectPlease() fails, like when
a connection through a socks proxy doesn't work
This commit is contained in:
parent
90d40aff72
commit
e71378d3c8
1 changed files with 2 additions and 0 deletions
|
|
@ -2346,6 +2346,8 @@ static CURLcode ConnectPlease(struct SessionHandle *data,
|
|||
break;
|
||||
}
|
||||
}
|
||||
if(result)
|
||||
*connected = FALSE; /* mark it as not connected */
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue