From patchwork Tue May 20 10:57:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8778 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4b1s2z3PYpz3x60 for ; Tue, 20 May 2025 10:57:47 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4b1s2y5HQcz5Gf for ; Tue, 20 May 2025 10:57:46 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4b1s2y4Z7vz330q for ; Tue, 20 May 2025 10:57:46 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4b1s2v5VxYz2y9V for ; Tue, 20 May 2025 10:57:43 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4b1s2t52H4z1TM; Tue, 20 May 2025 10:57:42 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1747738662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=nDIGG24Xs0a025nsngbPctA6ssEfTdN6UVDtM0DEEXg=; b=YFi/auBtrVoiZ2Q/bXDs43CRSFBPvZVHO7Jm/YfzeO/vDPUfxixj8beRPPlo6DcLTSSTLg ZzZebESYWEQ3aMBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1747738662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=nDIGG24Xs0a025nsngbPctA6ssEfTdN6UVDtM0DEEXg=; b=bHYY72dGTuek0ZMS7M3qE5jDH/5AYDGDteS/gnGVGO96CGrAGxTIOlyZD+UKR49cM44nHK 5o/PEbzki4UOaHUSQ88tNRd97CtZVs7xTX/IIqIPz9qYnATjX2wzdtcjV65yA28G4WGp6D IxEKvxmtAYeFDV0wyWj3Zi2OyOR1R57msAwAGSlTmakteM+4NmZImXVUgt/J5J3S62syES 1RvMpP3Xp2hMl3vlcK/VbJdcQ+HwYAsm0s6IRS2k4j7lF85Zr2LTicAToIr8UR+Y3gHhfu Og94Opp9Q62FF3YmCdKCn910VlBzEgz4GO9bFeHB+ct3+Oq0Dr6Lw+kIhEmN9g== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka , Adam G Subject: [PATCH] http-client-functions.pl: Fixes bug13852 Date: Tue, 20 May 2025 12:57:39 +0200 Message-ID: <20250520105739.7264-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Suggested-by: Adam G Fixes: bug13852 Tested-by: Adolf Belka Tested-by: Adam G Signed-off-by: Adolf Belka Acked-by: Stefan Schantl --- config/cfgroot/http-client-functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cfgroot/http-client-functions.pl b/config/cfgroot/http-client-functions.pl index 51687ffde..7f7675bbf 100644 --- a/config/cfgroot/http-client-functions.pl +++ b/config/cfgroot/http-client-functions.pl @@ -178,7 +178,7 @@ sub downloader (%) { # Check if an file for etags has been given. if ($etags_file) { # Read-in Etags file for known Etags if the file is present. - &readhash("$etags_file", \%etags) if (-f $etags_file); + &General::readhash("$etags_file", \%etags) if (-f $etags_file); # Check if an Etag for the requested file is stored. if ($etags{$etagprefix}) {