download: 'url-fetch' closes its HTTP/HTTPS port.
* guix/build/download.scm (url-fetch)[fetch]: In the http/https case, close PORT before returning.
This commit is contained in:
parent
dc3ad40c6b
commit
cce7427f95
1 changed files with 1 additions and 0 deletions
|
@ -744,6 +744,7 @@ (define (fetch uri file)
|
|||
(progress-reporter/file
|
||||
(uri-abbreviation uri) size)))
|
||||
(newline)))
|
||||
(close-port port)
|
||||
file)))
|
||||
((ftp)
|
||||
(false-if-exception* (ftp-fetch uri file
|
||||
|
|
Loading…
Reference in a new issue