guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: substitute: Use the same port for multiple request batches.


From: guix-commits
Subject: 01/03: substitute: Use the same port for multiple request batches.
Date: Sun, 26 Apr 2020 14:39:28 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 121191f23ae89415dfbbd3052c7342188cded135
Author: Christopher Baines <address@hidden>
AuthorDate: Mon Mar 2 20:13:39 2020 +0000

    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.
---
 guix/scripts/substitute.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 95b47a7..2cb240c 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]