{"thread":{"id":"27114","subject":"Retry on all A/AAAA records","startedAt":"2011-04-16T11:14:27Z","lastAt":"2011-04-19T07:51:56Z","messageCount":3,"participants":["Jan Engelhardt","Junio C Hamano","Alex Riesen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"165960","messageId":"alpine.LNX.2.01.1104161312590.11706@obet.zrqbmnf.qr","threadId":"27114","inReplyTo":null,"subject":"Retry on all A/AAAA records","fromName":"Jan Engelhardt","fromEmail":"jengelh@medozas.de","sentAt":"2011-04-16T11:14:27Z","receivedAt":"2011-04-16T11:14:27Z","isPatch":false,"sender":{"key":"jengelh@medozas.de","avatar":null},"body":"\nJust now, some git server that is in the DNS rotation seems to have an \nissue,\n$ telnet git.eu.kernel.org git\nTrying 199.6.1.166...\nConnected to git.eu.kernel.org.\nEscape character is '^]'.\nConnection closed by foreign host.\n\nI thought it would be nice if git-fetch would retry the operation on \nthe other DNS records that were returned if the connection breaks.\n"},{"id":"166059","messageId":"7v39le7tvz.fsf@alter.siamese.dyndns.org","threadId":"27114","inReplyTo":"alpine.LNX.2.01.1104161312590.11706@obet.zrqbmnf.qr","subject":"Re: Retry on all A/AAAA records","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-04-19T04:22:08Z","receivedAt":"2011-04-19T04:22:08Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jan Engelhardt <jengelh@medozas.de> writes:\n\n> Just now, some git server that is in the DNS rotation seems to have an \n> issue,\n> $ telnet git.eu.kernel.org git\n> Trying 199.6.1.166...\n> Connected to git.eu.kernel.org.\n> Escape character is '^]'.\n> Connection closed by foreign host.\n>\n> I thought it would be nice if git-fetch would retry the operation on \n> the other DNS records that were returned if the connection breaks.\n\nI think people who wrote git_tcp_connect_sock() in connect.c apparently\nthought so, too.  It uses either gethostbyname() or getaddrinfo() and\niterate over the list of addresses returned from these functions.\n"},{"id":"166066","messageId":"BANLkTimbFSoWEkurwoj2ixyDSj9LstsU6Q@mail.gmail.com","threadId":"27114","inReplyTo":"7v39le7tvz.fsf@alter.siamese.dyndns.org","subject":"Re: Retry on all A/AAAA records","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2011-04-19T07:51:56Z","receivedAt":"2011-04-19T07:51:56Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"On Tue, Apr 19, 2011 at 06:22, Junio C Hamano <gitster@pobox.com> wrote:\n> Jan Engelhardt <jengelh@medozas.de> writes:\n>\n>> Just now, some git server that is in the DNS rotation seems to have an\n>> issue,\n>> $ telnet git.eu.kernel.org git\n>> Trying 199.6.1.166...\n>> Connected to git.eu.kernel.org.\n>> Escape character is '^]'.\n>> Connection closed by foreign host.\n>>\n>> I thought it would be nice if git-fetch would retry the operation on\n>> the other DNS records that were returned if the connection breaks.\n>\n> I think people who wrote git_tcp_connect_sock() in connect.c apparently\n> thought so, too.  It uses either gethostbyname() or getaddrinfo() and\n> iterate over the list of addresses returned from these functions.\n\nJan probably means trying next server even if Git protocol fails, not\njust tcp connect.\n"}]}