summary refs log tree commit diff
path: root/gnu/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-11-12 22:37:32 +0100
committerLudovic Courtès <ludo@gnu.org>2015-11-12 23:47:00 +0100
commit60fd51222f9d7ec90bdad37bca921f40f7f5b104 (patch)
treeca98d5db3e2940ed96927d32d3bac8f0107bb6dd /gnu/build
parent4856700698cc0a2c1a5992a82c56d5b26024ab06 (diff)
downloadguix-60fd51222f9d7ec90bdad37bca921f40f7f5b104.tar.gz
download: Add timeout parameter for connections.
* guix/build/download.scm (ensure-uri): New procedure.
(current-http-proxy): New variable.
(open-socket-for-uri): Copy from Guile commit aaea5b2, but add #:timeout
parameter and use 'connect*' instead of 'connect'.
(open-connection-for-uri): Add #:timeout parameter and pass it to
'open-socket-for-uri'.
Diffstat (limited to 'gnu/build')
0 files changed, 0 insertions, 0 deletions