diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2015-11-12 22:37:32 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2015-11-12 23:47:00 +0100 |
| commit | 60fd51222f9d7ec90bdad37bca921f40f7f5b104 (patch) | |
| tree | ca98d5db3e2940ed96927d32d3bac8f0107bb6dd /nix/libutil/sha256.h | |
| parent | 4856700698cc0a2c1a5992a82c56d5b26024ab06 (diff) | |
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 'nix/libutil/sha256.h')
0 files changed, 0 insertions, 0 deletions
