HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29330b5
)
gnu-maintenance: Add a timeout on FTP connection establishment.
author
Ludovic Courtès
<ludo@gnu.org>
Wed, 17 Mar 2021 10:43:07 +0000
(11:43 +0100)
committer
Ludovic Courtès
<ludo@gnu.org>
Wed, 17 Mar 2021 11:03:25 +0000
(12:03 +0100)
* guix/gnu-maintenance.scm (latest-ftp-release): Pass #:timeout to
'ftp-open'.
guix/gnu-maintenance.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/gnu-maintenance.scm
b/guix/gnu-maintenance.scm
index
31cc948
..
4ba2a5f
100644
(file)
--- a/
guix/gnu-maintenance.scm
+++ b/
guix/gnu-maintenance.scm
@@
-345,7
+345,7
@@
return the corresponding signature URL, or #f it signatures are unavailable."
;; Return #t for patch directory names such as 'bash-4.2-patches'.
(cut string-suffix? "patches" <>))
- (define conn (ftp-open server))
+ (define conn (ftp-open server
#:timeout 5
))
(define (file->url directory file)
(string-append "ftp://" server directory "/" file))