From patchwork Mon Mar 2 21:07:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 20495 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 33AC427BBEA; Mon, 2 Mar 2020 21:08:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E9B7E27BBE4 for ; Mon, 2 Mar 2020 21:08:12 +0000 (GMT) Received: from localhost ([::1]:38678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8sIO-0006Ow-Fe for patchwork@mira.cbaines.net; Mon, 02 Mar 2020 16:08:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43438) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8sIF-0006Oh-KU for guix-patches@gnu.org; Mon, 02 Mar 2020 16:08:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8sIE-0003Fm-Nh for guix-patches@gnu.org; Mon, 02 Mar 2020 16:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60682) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8sIE-0003FW-Iv for guix-patches@gnu.org; Mon, 02 Mar 2020 16:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j8sIE-0001uv-Ei for guix-patches@gnu.org; Mon, 02 Mar 2020 16:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39873] [PATCH 1/3] substitute: Use the same port for multiple request batches. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Mar 2020 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39873 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39873@debbugs.gnu.org Received: via spool by 39873-submit@debbugs.gnu.org id=B39873.15831832607329 (code B ref 39873); Mon, 02 Mar 2020 21:08:02 +0000 Received: (at 39873) by debbugs.gnu.org; 2 Mar 2020 21:07:40 +0000 Received: from localhost ([127.0.0.1]:38418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8sHs-0001u8-HV for submit@debbugs.gnu.org; Mon, 02 Mar 2020 16:07:40 -0500 Received: from mira.cbaines.net ([212.71.252.8]:48634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8sHq-0001to-G5 for 39873@debbugs.gnu.org; Mon, 02 Mar 2020 16:07:38 -0500 Received: from localhost (unknown [46.237.162.11]) by mira.cbaines.net (Postfix) with ESMTPSA id E2AD027BBE4 for <39873@debbugs.gnu.org>; Mon, 2 Mar 2020 21:07:37 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6b8fc5cb for <39873@debbugs.gnu.org>; Mon, 2 Mar 2020 21:07:35 +0000 (UTC) From: Christopher Baines Date: Mon, 2 Mar 2020 21:07:33 +0000 Message-Id: <20200302210735.13337-1-mail@cbaines.net> X-Mailer: git-send-email 2.25.0 In-Reply-To: <87imjmeagu.fsf@cbaines.net> References: <87imjmeagu.fsf@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 dfb975a24a..5ed43d36c9 100755 --- a/guix/scripts/substitute.scm +++ b/guix/scripts/substitute.scm @@ -545,7 +545,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))