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:
Daniel Stenberg 2007-06-05 13:41:50 +00:00
parent 90d40aff72
commit e71378d3c8
1 changed files with 2 additions and 0 deletions

View File

@ -2346,6 +2346,8 @@ static CURLcode ConnectPlease(struct SessionHandle *data,
break;
}
}
if(result)
*connected = FALSE; /* mark it as not connected */
return result;
}