From: "SZEDER Gábor" <szeder.dev@gmail.com>
To: Eric Wong <e@80x24.org>
Cc: meta@public-inbox.org
Subject: Re: [PATCH 3/3] mboxgz: use Compress::Raw::Zlib instead of IO::Compress::Gzip
Date: Tue, 19 Nov 2019 14:57:55 +0100 [thread overview]
Message-ID: <20191119135754.GE23183@szeder.dev> (raw)
In-Reply-To: <20191116023439.32410-4-e@80x24.org>
Hi,
On Sat, Nov 16, 2019 at 02:34:39AM +0000, Eric Wong wrote:
> IO::Compress::Gzip is a wrapper around Compress::Raw::Zlib,
> anyways, and being able to easily detach buffers to return them
> via ->getline is nice. This results in a 1-2% performance
> improvement when fetching giant mboxes.
I've just stumbled upon an issue that I suspect to be related to this
patch series (or maybe just a strange coincidence...).
When trying to download a mbox.gz with 'wget' I get a "501 Not
Implemented", e.g.:
$ wget https://public-inbox.org/meta/20191116023439.32410-1-e@80x24.org/t.mbox.gz
--2019-11-19 14:53:37-- https://public-inbox.org/meta/20191116023439.32410-1-e@80x24.org/t.mbox.gz
Resolving public-inbox.org (public-inbox.org)... 64.71.152.64, 2600:3c01::f03c:91ff:fe96:f5d6
Connecting to public-inbox.org (public-inbox.org)|64.71.152.64|:443... connected.
HTTP request sent, awaiting response... 501 Not Implemented
2019-11-19 14:53:38 ERROR 501: Not Implemented.
When I try to do that with Firefox, I get:
gzipped mbox not available
The administrator needs to install the Compress::Raw::Zlib Perl module
to support gzipped mboxes.
Return to index
Thanks,
Gábor
next prev parent reply other threads:[~2019-11-19 13:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-16 2:34 [PATCH 0/3] start tidying up gzip-related code Eric Wong
2019-11-16 2:34 ` [PATCH 1/3] mbox: unused mid_clean import Eric Wong
2019-11-16 2:34 ` [PATCH 2/3] mbox: split mboxgz out into a separate file Eric Wong
2019-11-16 2:34 ` [PATCH 3/3] mboxgz: use Compress::Raw::Zlib instead of IO::Compress::Gzip Eric Wong
2019-11-19 13:57 ` SZEDER Gábor [this message]
2019-11-19 20:12 ` Eric Wong
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://public-inbox.org/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191119135754.GE23183@szeder.dev \
--to=szeder.dev@gmail.com \
--cc=e@80x24.org \
--cc=meta@public-inbox.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.
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).