From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eNJmNe5IS2CYaAAA0tVLHw (envelope-from ) for ; Fri, 12 Mar 2021 10:56:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QMc1Me5IS2AlQgAAB5/wlQ (envelope-from ) for ; Fri, 12 Mar 2021 10:56:46 +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 21C7C1A1F9 for ; Fri, 12 Mar 2021 11:56:46 +0100 (CET) Received: from localhost ([::1]:48556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKfTI-0008A5-Oj for larch@yhetil.org; Fri, 12 Mar 2021 05:56:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKfG2-0002LV-QA for bug-guix@gnu.org; Fri, 12 Mar 2021 05:43:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKfG2-0002ZO-IJ for bug-guix@gnu.org; Fri, 12 Mar 2021 05:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKfG2-0001Bu-Fz for bug-guix@gnu.org; Fri, 12 Mar 2021 05:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46967: Connection reuse for substitutes breaks with gzip Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 12 Mar 2021 10:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46967@debbugs.gnu.org Received: via spool by 46967-submit@debbugs.gnu.org id=B46967.16155457324510 (code B ref 46967); Fri, 12 Mar 2021 10:43:02 +0000 Received: (at 46967) by debbugs.gnu.org; 12 Mar 2021 10:42:12 +0000 Received: from localhost ([127.0.0.1]:56123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKfFE-0001Af-8D for submit@debbugs.gnu.org; Fri, 12 Mar 2021 05:42:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKfFC-0001AQ-Gb for 46967@debbugs.gnu.org; Fri, 12 Mar 2021 05:42:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35151) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKfF7-0001zY-1k for 46967@debbugs.gnu.org; Fri, 12 Mar 2021 05:42:05 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59004 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKfF5-0000X0-LG for 46967@debbugs.gnu.org; Fri, 12 Mar 2021 05:42:04 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878s70ibke.fsf@inria.fr> <8735x4a8m8.fsf@gnu.org> <87r1ko8o7v.fsf@gnu.org> <87eegmxfi5.fsf@gnu.org> Date: Fri, 12 Mar 2021 11:42:01 +0100 In-Reply-To: <87eegmxfi5.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 11 Mar 2021 09:26:42 +0100") Message-ID: <87r1kkvekm.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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615546606; 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: 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=tB4wZXtElapvdqgULAh6uNQXPehuWkgwb1eAuTLMZrI=; b=B71haZW2OFAK70Sd7IDFhTudsuL5iAx4zs+Xz3TWiMx0c0zSyeuLuSepkHrNWZUQ8AzTca 4rD2ZW7nRVhgGqbRPXIjfhHn8uo2hYEIRrzIwVzz3ff4XgciMmmNMuXBPssFY+5Ue2TxNI mnEctkFhmLEOSYzpi141hun/jFh+f7o1IRV6Nb5wYzHh6hkoctomwSGpFZDPBT46jhH3kk qGD6/bYUEOBmv5S1VieizA2Zf2Pn6cHy5+GY0/L9SEl9+iZEBO9/vSnrckrzgN6fX1YvZ/ JA0xFLbejdI59P7NpysVEuugBEjF5JvzmhxDaLfZPhSzokW9nq9cCNEXcR5WnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615546606; a=rsa-sha256; cv=none; b=uj2ttqtQgO9ij825SWUDx/26ltkTIZhhT7llurDHyppWTC0tk1B5EdQwtWjLVJtrJAAaUF 5qTYeZEd0Z+PAsw8p9/l8KRbZgl/5U/uBPkerUQQB98/0l0G+xSyoergGYTk7WygFteBtU botkYrDgFwVxG0F5seMme7Ez7hr0aFJtjfyXEmuVDap5D7ShyS8ZwbsjUBwhUN+nF0Ndkl 9BcG5IByIIKe9/e607+VoY5vg5zYobpHmrIpXhae1EX892nkfCMjXmA8r4gB2qFmumIkgu LiS8wZ23yU7NRbzeAVLVPMaDvzmcj1UU0Y0IeUYFu4RRd6IlLatgdzsDD5f1hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.89 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 21C7C1A1F9 X-Spam-Score: -2.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5BHaXfWsT9ET Hi! Ludovic Court=C3=A8s skribis: > This is because with =E2=80=98filtered-port=E2=80=99, the input port is d= umped from a > child process, not from the calling process. I decided to take a heavy-handed solution to that problem, which is to augment Guile-zlib with an interface for gzip compression/decompression not restricted to file ports (=E2=80=98call-with-gzip-output-port=E2=80=99 = & co. are restricted to file ports): https://notabug.org/guile-zlib/guile-zlib/commit/b899ac2fecf91475da1eba7e= 7b24708ea8b5fb73 That way, we can change =E2=80=98decompressed-port=E2=80=99 in (guix utils)= to perform in-process decompression for =E2=80=98gzip=E2=80=99, like it does for zstd = and lzip. If everything goes well, I=E2=80=99ll cut a Guile-zlib release today and up= date Guix accordingly. Ludo=E2=80=99.