From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qFyiNXnfUmJQcQEAgWs5BA (envelope-from ) for ; Sun, 10 Apr 2022 15:45:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gPfcLXnfUmK38wAAG6o9tA (envelope-from ) for ; Sun, 10 Apr 2022 15:45:29 +0200 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 56ECF7A84 for ; Sun, 10 Apr 2022 15:45:29 +0200 (CEST) Received: from localhost ([::1]:59712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndXse-000435-G7 for larch@yhetil.org; Sun, 10 Apr 2022 09:45:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndXsF-00040H-2Z for guix-patches@gnu.org; Sun, 10 Apr 2022 09:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndXsE-0004R2-Pb for guix-patches@gnu.org; Sun, 10 Apr 2022 09:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndXsE-0000zr-FS for guix-patches@gnu.org; Sun, 10 Apr 2022 09:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54836] [PATCH 2/3] http-client: Fix redirection. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Apr 2022 13:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54836 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54836@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 54836-submit@debbugs.gnu.org id=B54836.16495982943779 (code B ref 54836); Sun, 10 Apr 2022 13:45:02 +0000 Received: (at 54836) by debbugs.gnu.org; 10 Apr 2022 13:44:54 +0000 Received: from localhost ([127.0.0.1]:39765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndXs6-0000yt-GU for submit@debbugs.gnu.org; Sun, 10 Apr 2022 09:44:54 -0400 Received: from mail-ej1-f44.google.com ([209.85.218.44]:44811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndXs5-0000yP-3y for 54836@debbugs.gnu.org; Sun, 10 Apr 2022 09:44:53 -0400 Received: by mail-ej1-f44.google.com with SMTP id u15so7237033ejf.11 for <54836@debbugs.gnu.org>; Sun, 10 Apr 2022 06:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RaDM0VnR0FPTk0OmW6s1pk3D+uH62ATdFz58/3F6nA0=; b=kx4VY2eDyxP9FpHCr4wEyQ1F85PjFSjV489y8RihiNl1jHSMVBc099mZa5MdBKKGAs RL6MFdvhTzt1xua+HRm7uJFVx2zRGTy51HDzi2cYtAOmnLc9lcCd6pHCveJLB42m7XC/ /BZ/mJ3BqITZj/rLBbPZdxkGm5e+3l8eelIIacjLmaID5XoIcBNAJkVo5D3yXwbefzvB gwbNjCq9eOp063wOA31tIbpYPRe5caFguI/X6d1bnlWr+kRguzVR1IwsIJA8T1NDTn96 cxgpTY3wiWb7e76CkYZhTzDQ0gnCeSVseOcOVdMp4QzAiX2Tco5EMga7i3QKxHWY01hj 0ypQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=RaDM0VnR0FPTk0OmW6s1pk3D+uH62ATdFz58/3F6nA0=; b=VndoYD3b+IoeFNqGmiMWbo2z8YFPInm37llxjQ9Rx+6NHlSs+SeUmTENPdOO2QUFrY 0Htg/hDmZ9p/ggt4yv2zkOufAQX0vQsawZm+8lc4azixaJ27w56ZsiJ/1kx7IPPNLgVR 72agg6Pyk7sICGt+wUZy7Q/pNzaXH9w30nLvn33OWsi6huORgGnhQ6x9qGk+5UDb0umq WpLzW+bo1r1HE3LvDYFTwrWgrfBh7Fbvy4iLNL+1dSw7CilucBohPsViqCxZQ1BkKRa/ U7KaG9Vsg0qLZXQMlJrEbY8ZCjF2ovJSQVjijKaeP9+z8y4NcXjXc7xXqXcP7Z0ug0w7 UToQ== X-Gm-Message-State: AOAM531XOMEHn08JZyL6RP1HfVSRfBsB1hJ7VyJ+0FCPjsYB1VbmQqfw X89oPGLZAQgPrcxhxEYrvoBufE1wwQc= X-Google-Smtp-Source: ABdhPJxlVSznoJ1zyzo3ol+Qetw4sPvNn+a/9IKDTb/mXp0n849mQfN5Q1Ows05m/9+NPDLKyGfeIg== X-Received: by 2002:a17:907:72c5:b0:6da:e99e:226c with SMTP id du5-20020a17090772c500b006dae99e226cmr26643875ejc.515.1649598287324; Sun, 10 Apr 2022 06:44:47 -0700 (PDT) Received: from localhost.localdomain ([2a02:ab88:7509:f780:ed82:a496:f55:e07b]) by smtp.gmail.com with ESMTPSA id p24-20020a056402045800b0041614c8f79asm13232201edw.88.2022.04.10.06.44.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 06:44:46 -0700 (PDT) From: Attila Lendvai Date: Sun, 10 Apr 2022 15:41:14 +0200 Message-Id: <20220410134114.371-2-attila@lendvai.name> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220410134114.371-1-attila@lendvai.name> References: <20220410134114.371-1-attila@lendvai.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649598329; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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:dkim-signature; bh=RaDM0VnR0FPTk0OmW6s1pk3D+uH62ATdFz58/3F6nA0=; b=tuBf2VTuKDVFjE8jpQ1Vx/saUGNj3EdDc1rpaCWPH8PAcFTdKqqPK/5Zl9kPRtgk7hV+uN YtZrTXq9o8HslUDW3HbGbWZ3ARMA4h36ii/1qB9+jFCo/hdJXnxqUCpEAEAVR7lU1LjWuw oyzMFMuPFTku2+Y2xP111Mf/uL4/78o4oYgpjm1XvMThGls7FNEzPiC0Rh+pGh/QR+hTFK /JrK+c6+JK93Ihms8rGsT8EQwO/+bsQD7G6eddTibu+LbAAEkNa2cQTMS7tm51mzZQ2Zbp HbQz47kpX8Y9xq2362MKA70dLaRWWb4Iip1Dwq3tr2/Hox702u9sHnEuBZFIFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649598329; a=rsa-sha256; cv=none; b=hocJ2/2YiXzbbtUSOq3+fosmowfKjo+Cu4ihTpg5Lzv5C6NSCOC3plIfgTnUrz1oRvjQbo rS3MPOOTzONgNxw4inYW9qrtcxTAX//uQuJqDv1/1o9mM9Ej7HcReZnDbNitwQC4aQBIkJ Rmk78HNnszDlfx0F2v+Ga/KxYu7Tshw95+X7Hr2+3fLzI5hWm09OjLh5sj6njW5TMTmsAq chzpWnqUh3T3pjSHcFQFqQErwCPfON7tXOIjI+rgpwZIugtfsHfykX83GWJ+qQ/04Cw0mA ECm6+/XBqhPTf/V3dfL5GcrMwHCPeXm2UNSf+a9SeWrsl8GbBDs7w3q/jbfURQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kx4VY2eD; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kx4VY2eD; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 56ECF7A84 X-Spam-Score: 2.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: GXtoYmjnYao7 * guix/http-client.scm (http-fetch): Use the right uri variable in case of redirection. --- guix/http-client.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/http-client.scm b/guix/http-client.scm index 8a5b3deecd..b8689a22ed 100644 --- a/guix/http-client.scm +++ b/guix/http-client.scm @@ -148,7 +148,7 @@ (define uri* (or (not (uri-host uri)) (string=? host (uri-host uri))) port) - (open-connection uri* + (open-connection uri #:verify-certificate? verify-certificate? #:timeout timeout))))) -- 2.34.0