the check in ConnectionExists() for not re-using a non-resolved connection now

applies for asynch name resolves in general and not only ares
This commit is contained in:
Daniel Stenberg 2006-10-23 20:41:50 +00:00
Родитель e1edd41e1b
Коммит 36a3514225
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1937,7 +1937,7 @@ ConnectionExists(struct SessionHandle *data,
/* NULL pointer means not filled-in entry */
continue;
#ifdef USE_ARES
#ifdef CURLRES_ASYNCH
/* ip_addr_str is NULL only if the resolving of the name hasn't completed
yet and until then we don't re-use this connection */
if (!check->ip_addr_str)