diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-11-14 09:51:50 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-11-14 23:46:53 +0100 |
commit | 9f8605958ef86a0054a04297917ca32ed58d9d56 (patch) | |
tree | 74ad48c8a8a5d963c7b0279ba84c1c3b58ef74ee /nix/libutil | |
parent | 5724a14e71f21ccfe865ed6fadae3f7683fc66e2 (diff) | |
download | guix-patches-9f8605958ef86a0054a04297917ca32ed58d9d56.tar guix-patches-9f8605958ef86a0054a04297917ca32ed58d9d56.tar.gz |
download: Pass the timeout to 'ftp-retr'.
This ensures the timeout applies when connecting to the port returned by
PASV.
* guix/ftp-client.scm (ftp-list): Add #:timeout parameter. Use
'connect*' instead of 'connect' and pass TIMEOUT.
(ftp-retr): Likewise.
* guix/build/download.scm (ftp-fetch): Pass TIMEOUT to 'ftp-retr'.
Diffstat (limited to 'nix/libutil')
0 files changed, 0 insertions, 0 deletions