diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-12-17 00:14:30 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-12-17 00:14:30 +0100 |
commit | 3c738d6bd879aa884be0e40e631a36570e8f0d03 (patch) | |
tree | a17f268f082dcf061b05eeef139bd84a1d572c87 /Makefile.am | |
parent | 868fce7c4ae92d533ec6936c8077cd4845aebd19 (diff) | |
download | guix-3c738d6bd879aa884be0e40e631a36570e8f0d03.tar guix-3c738d6bd879aa884be0e40e631a36570e8f0d03.tar.gz |
download: Correctly detect "No route to host" conditions.
* guix/build/download.scm (open-connection-for-uri): Delete addrinfos
with the same address. Always open SOCK_STREAM/IPPROTO_IP sockets.
Fix the error handler's condition to determine what to do.
Reported by Nikita Karetnikov <nikita.karetnikov@gmail.com> at
<http://lists.gnu.org/archive/html/bug-guix/2012-12/msg00150.html>.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions