unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 46967@debbugs.gnu.org
Subject: bug#46967: Connection reuse for substitutes breaks with gzip
Date: Fri, 12 Mar 2021 11:42:01 +0100	[thread overview]
Message-ID: <87r1kkvekm.fsf@gnu.org> (raw)
In-Reply-To: <87eegmxfi5.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 11 Mar 2021 09:26:42 +0100")

Hi!

Ludovic Courtès <ludo@gnu.org> skribis:

> This is because with ‘filtered-port’, the input port is dumped 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 (‘call-with-gzip-output-port’ & co. are
restricted to file ports):

  https://notabug.org/guile-zlib/guile-zlib/commit/b899ac2fecf91475da1eba7e7b24708ea8b5fb73

That way, we can change ‘decompressed-port’ in (guix utils) to perform
in-process decompression for ‘gzip’, like it does for zstd and lzip.

If everything goes well, I’ll cut a Guile-zlib release today and update
Guix accordingly.

Ludo’.




  reply	other threads:[~2021-03-12 10:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-06 14:47 bug#46967: Connection reuse for substitutes breaks with gzip Ludovic Courtès
2021-03-09 11:07 ` Ludovic Courtès
2021-03-09 13:13   ` Ludovic Courtès
2021-03-11  8:26     ` Ludovic Courtès
2021-03-12 10:42       ` Ludovic Courtès [this message]
2021-03-12 15:08         ` Ludovic Courtès
2021-03-14 10:17           ` Ludovic Courtès
2021-03-16 18:34             ` Bonface Munyoki K.
2021-03-18  9:32               ` Ludovic Courtès
2021-03-10  1:28 ` Léo Le Bouter via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1kkvekm.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=46967@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).