aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-03-02 20:13:39 +0000
committerChristopher Baines <mail@cbaines.net>2020-04-26 19:37:22 +0100
commit121191f23ae89415dfbbd3052c7342188cded135 (patch)
tree3ba58bfb41ec41bdc5e63b0b266af7a46290a5b0
parent910bf1f7a11b669b9c307fb5af8c1fb0be01d537 (diff)
downloadpatches-121191f23ae89415dfbbd3052c7342188cded135.tar
patches-121191f23ae89415dfbbd3052c7342188cded135.tar.gz
substitute: Use the same port for multiple request batches.
In http-multiple-get. * guix/scripts/substitute.scm (http-multiple-get): Switch port to p in one occurrence.
-rwxr-xr-xguix/scripts/substitute.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 95b47a7816..2cb240c2a0 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -538,7 +538,7 @@ initial connection on which HTTP requests are sent."
(()
(reverse result))
(remainder
- (connect port remainder result))))
+ (connect p remainder result))))
((head tail ...)
(let* ((resp (read-response p))
(body (response-body-port resp))