substitute: Close port at the end of http-multiple-get.
authorChristopher Baines <mail@cbaines.net>
Mon, 2 Mar 2020 20:20:40 +0000 (20:20 +0000)
committerChristopher Baines <mail@cbaines.net>
Sun, 26 Apr 2020 18:37:25 +0000 (19:37 +0100)
* guix/scripts/substitute.scm (http-multiple-get): Add close-port call.

guix/scripts/substitute.scm

index 0777aa3..ba2b2d2 100755 (executable)
@@ -537,6 +537,7 @@ initial connection on which HTTP requests are sent."
           (()
            (match (drop requests processed)
              (()
+              (close-port p)
               (reverse result))
              (remainder
               (connect p remainder result))))