From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MBlmN/izT2BySAAA0tVLHw (envelope-from ) for ; Mon, 15 Mar 2021 19:22:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kEI2M/izT2AmcwAA1q6Kng (envelope-from ) for ; Mon, 15 Mar 2021 19:22:32 +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 72603BC36 for ; Mon, 15 Mar 2021 20:22:32 +0100 (CET) Received: from localhost ([::1]:48912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsnP-0000Ra-Ke for larch@yhetil.org; Mon, 15 Mar 2021 15:22:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLsmz-0000P7-ME for guix-patches@gnu.org; Mon, 15 Mar 2021 15:22:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLsmw-00008p-7I for guix-patches@gnu.org; Mon, 15 Mar 2021 15:22:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLsmw-0006yi-3B for guix-patches@gnu.org; Mon, 15 Mar 2021 15:22: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 19:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47174 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47174@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161583611726811 (code B ref -1); Mon, 15 Mar 2021 19:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2021 19:21:57 +0000 Received: from localhost ([127.0.0.1]:37209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLsmq-0006yN-S4 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 15:21:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:50388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLsmo-0006yF-FR for submit@debbugs.gnu.org; Mon, 15 Mar 2021 15:21:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLsml-0000NJ-Jg for guix-patches@gnu.org; Mon, 15 Mar 2021 15:21:54 -0400 Received: from mira.cbaines.net ([212.71.252.8]:53620) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsme-0008W0-Lq for guix-patches@gnu.org; Mon, 15 Mar 2021 15:21:51 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 2E6D727BC52 for ; Mon, 15 Mar 2021 19:21:43 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 75122fc1 for ; Mon, 15 Mar 2021 19:21:42 +0000 (UTC) User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines Date: Mon, 15 Mar 2021 19:21:41 +0000 Message-ID: <87y2eodxyy.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1615836152; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=WMIZWDE8Ck90q3D7Zaj5n85BZYxhPTYM7iDgq2jLxqo=; b=Es/CONfI4DP0lnNE+ZPNDGfa1SEr/f400n88NbwrS5bSwWrFlRyLH9mZGM/Qn1xmJ354/V V3eC1ysVowbYlZQ6NsJSRn2aKYmMG3yObE7WCj+3+HiHqZp6GkOAEl7OybQ2mXTc9GM2yr ZxWO99hU+PeUCdA9GDcm/TPxIDezKPKezoLj1nvF2Ao6SvLt2/FaDwkkLn/8QIefusGDD5 uzPbWOamhCOGsqyumNeBsK9V32Gc+spp5it/YFQx4Y0cad84IYjkiEgf5gfsPu3NlXTnsO bd2kuyCFJXA+QnHhQ+XLdJuQzQHPdxGY1bltMzHaTqMFGmgRlNJd5+qmsgQnIQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615836152; a=rsa-sha256; cv=none; b=M+TuYJ91Jte23AEG3TMZ+gQgAv3yA5ffZ0JPZ2Gp5cT4Upm4q71NWB+L/AubJHAARw2goP 6MJ8JPPL87O+nW4LUQNsTZPgnO90H+4tD715lMGhe3f9ZjY6FiInDmCe3+SdeskWSbzILH ZPDmlJgmS+FaRjMFr4/vfeeHG4gZWMXb4lPZ0wahWv6EhFL5CRUTWI5YaABB3PpZA2pLFo RfYqY/+vwyEuL2XIzKBibx0q7lMBaSkBQUE2NTDzIAztQAfDA0yFzpng/VnBlRadZXkKMT bvjp9yDV8kl8FfmvZScY/Nedvrlg+vyNGfiEFri8L9bVcuzaDE84o3z4n/7Lrw== 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: 72603BC36 X-Spam-Score: -4.50 X-Migadu-Scanner: scn0.migadu.com X-TUID: NkXZ1/dIJiXK --=-=-= Content-Type: text/plain Christopher Baines (2): guix: Alter http-fetch to return the response. substitute: Handle closing connections to substitute servers. guix/build/download-nar.scm | 5 +++-- guix/build/download.scm | 9 ++++++--- guix/http-client.scm | 12 ++++++------ guix/scripts/substitute.scm | 31 ++++++++++++++++++++++++------- 4 files changed, 39 insertions(+), 18 deletions(-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmBPs8VfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xef2A/+Lm+zmZgKgVlBPQz+dN6k5H9MnTXQNU3m iPPZ0BeaY9d8ZTg1zSnwLeF9kRQsm3Z/VlU0wmwv56AO3RS2U6q8iXzk+V6kmui/ 0a+c84k+TsIkFcyEJmQlGXXvcoGZpGi2BHMo4fdAsKdKkTW3nIk+fHfc0fJ31wuO skHZF5Q6KRIGyURtym9w2NB4fBjoesjJqsZ7Q55OXgViGITfDqCGprdlF1cxdGvt bNNCoNj26bOzlT7D10rW9IFZWJrG+6CGxfM0+d2LaW30viO+P8RPxLs5UfkcGsTE 41/1VCXUoCBAR2/GRoPGiZsYNIznLuV+/hqD+vNLh1nIctybX0cld74uttSROImp 4RiJy4YBdjnYu4e//rzui0jIU7QfX/iVSCYtgt6ymmsNVNfklzU0CEgrBHln8Dha RRWVGY2R4SWN57K2p5CSjDQiQzH37IP+N1WRKeebCR8Brub7mcA3d5kFprvz/BS3 2AvrNUkVnxBw2D4Vk30QB2OMDofIfxLBJmNsZbPsG87BUjaspOB8kPvzSl00RnBr WFICIPwEa5vAFv/N6fOQrkNCH2eNbK3R/2LEcLeNWTRq7UiXu1zL7kNtfjyZ4sXZ C/zE+xMXGkCcLD9QeubMCuW3usRJAQgdNra6pl71FCE1VxyjC30/JBOTjBlXmHPG ICJyXcsD3QQ= =SskM -----END PGP SIGNATURE----- --=-=-=--