From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id /E4hLsjHT2CTEwAA0tVLHw (envelope-from ) for ; Mon, 15 Mar 2021 20:47:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id xi7JKcjHT2CeNAAA1q6Kng (envelope-from ) for ; Mon, 15 Mar 2021 20:47:04 +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 4EED91CBB6 for ; Mon, 15 Mar 2021 21:47:04 +0100 (CET) Received: from localhost ([::1]:33834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLu7C-0008IH-Ty for larch@yhetil.org; Mon, 15 Mar 2021 16:47:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLu3K-0004kV-KE for guix-patches@gnu.org; Mon, 15 Mar 2021 16:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLu3K-0003DF-AN for guix-patches@gnu.org; Mon, 15 Mar 2021 16:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLu3K-0000Vm-8A for guix-patches@gnu.org; Mon, 15 Mar 2021 16:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47174] [PATCH 0/2] substitute: Handle closing connections to substitute servers. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 20:43: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 47174@debbugs.gnu.org Received: via spool by 47174-submit@debbugs.gnu.org id=B47174.16158409581930 (code B ref 47174); Mon, 15 Mar 2021 20:43:02 +0000 Received: (at 47174) by debbugs.gnu.org; 15 Mar 2021 20:42:38 +0000 Received: from localhost ([127.0.0.1]:37322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLu2v-0000V4-VT for submit@debbugs.gnu.org; Mon, 15 Mar 2021 16:42:38 -0400 Received: from mira.cbaines.net ([212.71.252.8]:36892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLu2t-0000Uv-Nw for 47174@debbugs.gnu.org; Mon, 15 Mar 2021 16:42:36 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 2097327BC52; Mon, 15 Mar 2021 20:42:35 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 71a5997a; Mon, 15 Mar 2021 20:42:34 +0000 (UTC) References: <20210315192449.16248-1-mail@cbaines.net> <20210315192449.16248-2-mail@cbaines.net> <874khccfym.fsf_-_@gnu.org> User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines In-reply-to: <874khccfym.fsf_-_@gnu.org> Date: Mon, 15 Mar 2021 20:42:34 +0000 Message-ID: <87pn00du85.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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=1615841224; 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: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=CasNlpLIU/6NsyY/nZWejc7PK+M1WQhDz4U/F4lQScM=; b=obd8KvqyrQK/duNqzriq6MAxSvVqzUUwdtlyS2syJDRzyI8MdVgO8nzMO8Mla+W2N1Vw+m 5cLg7YWQXG5jGZyoC2NhWnjp7hXyd6ZyYJeNH1WOzKD7YhjM5mAXunYJP5iE2T+feaI0fH TwpmzDFd/RyJ+fqv7p/arhQdBEeO74Mf/jhz2x8VUZldNMHGDTeX6QXLAIzE9j7RXwgDMl MIF8Mjrd5hbzu3eJ6hfx5Sv4QGXTanS6TixitegusOuUeCxB2pFGq51mVhKZ7KqkPLrIlS 0qisSL0d+gNKpbjVoopYCdw+0xTubbzmoK3Qg6r+4ZLnLcBG/eRNaxXjwI8Sig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615841224; a=rsa-sha256; cv=none; b=Lo4Kmyft1FXyAzUFhzZsC1tFrf+YXXcliCkp7F1tnA60NoZQKy/dW5VmFBP35GfRaoi8KN q6KcUVxupU2IGhBxKyEg8ccI1McdcLfYRqfnv9BznxcPP+UpIz0/rkYID7LJFRsLcqZ59z ZGUhK3wogcBgUYo7mlvr5T3/qtNLcmqLjV577HG3fEOYfEMuFz9bnC6GsWu4PL+4lTPxXX kKvM/joCoCGQ8Wx91Sq027QmRduX/yeweo9PT+WaUO6bSit4CMnWZDz3eFG++QSEFh6kEp BBQ4yWLWYd2pXu257eHoLaJxiQW2hh26FYyKk+V5snn6WqpmYjhMu4bK5XRKSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -4.50 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Queue-Id: 4EED91CBB6 X-Spam-Score: -4.50 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3UZzxrNNyFbb --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Christopher Baines skribis: > >> When reusing a HTTP connection to fetch multiple nars, and the remote se= rver >> 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 han= dle the case where the > server didn=E2=80=99t express the intent to close the connection but even= tually > closed it after some time. > > Does that make sense? Yeah, of course, this was something I was thinking about in addition to the changes in [1]. 1: https://issues.guix.gnu.org/47160 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmBPxrpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xd0Jg//cyAQJF65Ezu0jNXzIoiUOwNZ5xc2mfsO Rnbn/G3E+LiZnjzEBXRLLXobWuVON8jIwKcrmroVB+BIJbbEzTLCSu4hahmT/0SE osbOr0hC9e0a9XcVTRxj0w9raRfyAhtvOl7IANH/Nl+SfM9ZXU1BOve5VRGPnBwZ 5QCLfh/m0naWoSErs8KTtz4zfFPJPS8K/3F7euiH6wzbgv27LK7e9z1Le4MnmbAJ p47/Qt9i/mBPMYXkCs1uN0ciylC59u12lUPPLAyUk/5J+VBRyGCdy1rxRTVfogRv k7PtVOPvkjSwwYWIRF1YAU/EGlM3IurHj/EnbBLAKM8Nuaa9V27puwzs44TCWCz5 weArBWRuusiYQuCXHoJSb2x14MXWADZacTslEnbVqCqmnsq8osqq8COvySJHg+HU RSKWCXU+7g/ePqEjIfr4Wt/slBrawvl4eP6IYf4Gv8xAV5XeIQNdGBe8ZeqcBK6O yB/R4rd9bnikZwHWTWiximsNdXoSoHCGthi5D+1jFrHOjM/u3FAD/7KOLUjaRcL8 12PVpMFfz2XY0T2obZa/DtZxLKadjAxJZ03L6uyLbC+diNMlyj/hiy3iJ4SRonRp 8A0siXnnPWcHb4yYbufKFs8Fhj9kA3oQsAPnwvkdZGq6bQkD1gZ80msDS7r7jRBn EOtl2pIqcQY= =PQKS -----END PGP SIGNATURE----- --=-=-=--