Browse Source

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.
gn-latest-20200428
Christopher Baines 2 years ago
parent
commit
121191f23a
No known key found for this signature in database GPG Key ID: 5E28A33B0B84F577
  1. 2
      guix/scripts/substitute.scm

2
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))

Loading…
Cancel
Save