From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eAHgI3XFT2DQbQAA0tVLHw (envelope-from ) for ; Mon, 15 Mar 2021 20:37:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qKuHH3XFT2DIWQAAbx9fmQ (envelope-from ) for ; Mon, 15 Mar 2021 20:37:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4B912A724 for ; Mon, 15 Mar 2021 21:37:09 +0100 (CET) Received: from localhost ([::1]:49512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLtxc-0001sn-4E for larch@yhetil.org; Mon, 15 Mar 2021 16:37:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLtxW-0001sY-Ft for guix-patches@gnu.org; Mon, 15 Mar 2021 16:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53996) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLtxW-0000k3-8P for guix-patches@gnu.org; Mon, 15 Mar 2021 16:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLtxW-0000MJ-5L for guix-patches@gnu.org; Mon, 15 Mar 2021 16:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47174] [PATCH 0/2] substitute: Handle closing connections to substitute servers. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47174 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 47174@debbugs.gnu.org Received: via spool by 47174-submit@debbugs.gnu.org id=B47174.16158405711297 (code B ref 47174); Mon, 15 Mar 2021 20:37:02 +0000 Received: (at 47174) by debbugs.gnu.org; 15 Mar 2021 20:36:11 +0000 Received: from localhost ([127.0.0.1]:37306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLtwh-0000Kr-BG for submit@debbugs.gnu.org; Mon, 15 Mar 2021 16:36:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLtwf-0000Ke-2s for 47174@debbugs.gnu.org; Mon, 15 Mar 2021 16:36:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51905) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLtwZ-0000FY-64; Mon, 15 Mar 2021 16:36:03 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46674 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLtwY-0007JT-Bt; Mon, 15 Mar 2021 16:36:02 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210315192449.16248-1-mail@cbaines.net> <20210315192449.16248-2-mail@cbaines.net> Date: Mon, 15 Mar 2021 21:36:01 +0100 In-Reply-To: <20210315192449.16248-2-mail@cbaines.net> (Christopher Baines's message of "Mon, 15 Mar 2021 19:24:49 +0000") Message-ID: <874khccfym.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615840629; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=+k9aQb2eREb1WvmAHIJRVa0kgrsvJ/ZQv8oyk7BfTzo=; b=LQ4gHtnET3MmYDIF7GkEr246OIsKNZqQrdhuwwdeJPaOdXthNltu9vyRRyeeR737PdQbsJ 0elvTBN7nNzJwcum8A2ZW/rtNoV6bXFY9uxSFON9Oirx34BsjjQ7CmTGtqImUzy4vHfsqu 1NltiQseIQWV2h1Sn7KkSrJxJQHb/WQh2FnSbsE3/9dPaNrMnaStpaTrsBlZeiB7BDWAQu 3NXVhKmgqEs9gmZChRj1CVgZOUqv8/HqPPviVbQrZiYDHWYOFZpjPDxlp8eigzwi6q+Gvs VAqqTxIRqM1S/AvyVJT1JSqrZGA7ovpnRJ5XFHXDW+oKwXOtJH4qed3J/DQOpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615840629; a=rsa-sha256; cv=none; b=paI00OLAtfMG7WNJHe39Mt7kqtIc922JwZPoLTlzO+bEZ3eYHaWQo6D0kZki45QwIDltcV U0XTc4UPy/i3VxP0HVvbreJjBpw2nHFe4iTNnBRPvXRDU1uYbkL/6vIvIN4sYbSXH2K2UO B4Qel1MSrOt2k4FbzShdPDTwqgt+6Ch4/YRwc7ijIucYnbiNAJCYATdL072cHqywvhtpwh 8+k+UTFZvLYTwyuCZnlXug58VKzH6GLivT5SsJ3D0T5sS7h8AA+IA1tT9CVRVVEaUVIyix hiVnoOV1Wz8l0qCJIbkeiFoTpViL/4kpLD2LSj1AsYohd2/L00TVRsvrDz6mmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4B912A724 X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8Dr3gqJat7RA Christopher Baines skribis: > When reusing a HTTP connection to fetch multiple nars, and the remote ser= ver > signals that the connection should be closed. > > * guix/scripts/substitute.scm (process-substitution): Close connections to > substitute servers when a Connection: close header is specified in the > response. In the context of , honoring =E2=80=9CConnection: close=E2=80=9D isn=E2=80=99t enough. We need to handl= e the case where the server didn=E2=80=99t express the intent to close the connection but eventu= ally closed it after some time. Does that make sense? Ludo=E2=80=99.