diff options
author | Christopher Baines <mail@cbaines.net> | 2021-01-07 19:40:43 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-02-22 20:43:10 +0000 |
commit | 205833b72c5517915a47a50dbe28e7024dc74e57 (patch) | |
tree | 35d5fa063c20800d4c787943768b53370f8bbd53 /AUTHORS | |
parent | e2e853ddb0d964e7b0300334ab51ab89950c2376 (diff) | |
download | guix-205833b72c5517915a47a50dbe28e7024dc74e57.tar.gz guix-205833b72c5517915a47a50dbe28e7024dc74e57.zip |
http-client: Add error handling to http-multiple-get.
Making sure to close the port if it looks to be unusable. This closing of the
port will allow for caching connections, without caching broken connections,
as the cache can avoid handing out closed ports.
* guix/http-client.scm (http-multiple-get): Try to catch exceptions that
happen if the port is unusable, this is a adaptation of code within the (guix
scripts substitute) module.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions