Daniel Stenberg wrote: > Lovely. I've merged this and pushed on master now. Thanks!
Awesome! I found a mistake. In a special case it will only try the first address in a family. Here is the fix. -- Björn
>From fad9d25e789398dcdb12ff1d281134d3c9fdf65d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= <bj...@haxx.se> Date: Sun, 27 Oct 2013 12:27:52 +0100 Subject: [PATCH] Typo fix in trynextip(). --- lib/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/connect.c b/lib/connect.c index 4bf0232..93b2135 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -573,7 +573,7 @@ static CURLcode trynextip(struct connectdata *conn, do { ai = ai->ai_next; - } while(ai && ai->ai_family == family); + } while(ai && ai->ai_family != family); } Curl_closesocket(conn, fd_to_close); return CURLE_COULDNT_CONNECT; -- 1.7.10.4
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html