From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43452) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8sIG-0006Oj-IB for guix-patches@gnu.org; Mon, 02 Mar 2020 16:08:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8sIF-0003H8-Gn for guix-patches@gnu.org; Mon, 02 Mar 2020 16:08:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60684) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8sIF-0003Gu-DP for guix-patches@gnu.org; Mon, 02 Mar 2020 16:08:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j8sIF-0001vA-9T for guix-patches@gnu.org; Mon, 02 Mar 2020 16:08:03 -0500 Subject: [bug#39873] [PATCH 3/3] substitute: Close port at the end of http-multiple-get. Resent-Message-ID: From: Christopher Baines Date: Mon, 2 Mar 2020 21:07:35 +0000 Message-Id: <20200302210735.13337-3-mail@cbaines.net> In-Reply-To: <20200302210735.13337-1-mail@cbaines.net> References: <87imjmeagu.fsf@cbaines.net> <20200302210735.13337-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39873@debbugs.gnu.org * guix/scripts/substitute.scm (http-multiple-get): Add close-port call. --- guix/scripts/substitute.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm index a88cb5bcfe..e3f5837a8e 100755 --- a/guix/scripts/substitute.scm +++ b/guix/scripts/substitute.scm @@ -544,6 +544,7 @@ initial connection on which HTTP requests are sent." (() (match (drop requests processed) (() + (close-port p) (reverse result)) (remainder (connect p remainder result)))) -- 2.25.0