Re: Retry on all A/AAAA records

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 19, 2011 at 06:22, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Jan Engelhardt <jengelh@xxxxxxxxxx> writes:
>
>> Just now, some git server that is in the DNS rotation seems to have an
>> issue,
>> $ telnet git.eu.kernel.org git
>> Trying 199.6.1.166...
>> Connected to git.eu.kernel.org.
>> Escape character is '^]'.
>> Connection closed by foreign host.
>>
>> I thought it would be nice if git-fetch would retry the operation on
>> the other DNS records that were returned if the connection breaks.
>
> I think people who wrote git_tcp_connect_sock() in connect.c apparently
> thought so, too. ÂIt uses either gethostbyname() or getaddrinfo() and
> iterate over the list of addresses returned from these functions.

Jan probably means trying next server even if Git protocol fails, not
just tcp connect.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]