aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-01-07 19:40:43 +0000
committerChristopher Baines <mail@cbaines.net>2021-02-22 19:53:44 +0000
commit4d53be03d77ee97241914c4a87ba158c8c0e40a1 (patch)
tree99b0bfef8cde3cd0285393313ecfed24de55c7ab /m4
parent1f24f441981bf9c2b9c67858ad06c0a34b7414f3 (diff)
downloadguix-4d53be03d77ee97241914c4a87ba158c8c0e40a1.tar
guix-4d53be03d77ee97241914c4a87ba158c8c0e40a1.tar.gz
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 'm4')
0 files changed, 0 insertions, 0 deletions