Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: Retry on all A/AAAA records

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:03

Jan Engelhardt [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help