summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-04-18 14:21:21 +0100
committerChristopher Baines <mail@cbaines.net>2026-01-28 17:44:57 +0000
commit999a8a668bb03e4bd42566184fd348f4d7666b53 (patch)
treefce9464083719bcc9722cb33a6b56851e937ed51
parentb354ef2df377143eeb8b323f50b6720055d4d0b4 (diff)
http-client: Include EPIPE in network-error?.
The substitute script checks for EPIPE errors, so this allows using network-error?. * guix/http-client.scm (network-error?): Include EPIPE. Change-Id: I96d76d77997ed21a38bf9c41479fea67ab01e084
-rw-r--r--guix/http-client.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/http-client.scm b/guix/http-client.scm
index 28ace406b59..dade7800083 100644
--- a/guix/http-client.scm
+++ b/guix/http-client.scm
@@ -93,7 +93,7 @@
(let ((errno (system-error-errno
(cons 'system-error (exception-args exception)))))
(memv errno (list ECONNRESET ECONNABORTED ETIMEDOUT
- ECONNREFUSED EHOSTUNREACH
+ ECONNREFUSED EHOSTUNREACH EPIPE
ENOENT)))) ;for "file://"
(and (kind-and-args? exception)
(memq (exception-kind exception)