fixed a Curl_connecthost() bug, we should default to set connected to false
This commit is contained in:
Родитель
c74cb59e08
Коммит
30b7a9f172
|
@ -427,6 +427,9 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
|
|||
* Figure out what maximum time we have left
|
||||
*************************************************************/
|
||||
long timeout_ms=300000; /* milliseconds, default to five minutes */
|
||||
|
||||
*connected = FALSE; /* default to not connected */
|
||||
|
||||
if(data->set.timeout || data->set.connecttimeout) {
|
||||
double has_passed;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче