From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 403861F4B5 for ; Tue, 19 Nov 2019 13:57:59 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id e6so23997975wrw.1 for ; Tue, 19 Nov 2019 05:57:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=kOHmUJi7FhtT8nxkWkiOkKUGWFAMLqiamac4NzIeyJ8=; b=ZhQeUez2xYbc4gnHgwVsFByrcSlLDxcWHAZByyV8Og69RsIkkHrv20KWYXmg0RMNne zps396EGsBemxtqkp9nVbpg+VGUkJgp0LeTfGzvDPBtOzhzaEowMgD5rH2ekM1HaZRd1 RjPo4zDZiFRYWwocNm1QpKgQUOb3u+SABulKEqbPOkJ8x0ZwKABe/eGm7BAGWiCl7axL C6rG7GS2drXK4/zVPROh0i3R8RBn9TcN1NYdONgJvoivPuTWdmBPhB8KNtyQ16dhIvOf FIPluyB245a3yoUKRQ5V/v2dipjcdrUIqFPkGA+U4JUNb1LSQbrtAVo3fsOGT/Uua54y 7Lng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=kOHmUJi7FhtT8nxkWkiOkKUGWFAMLqiamac4NzIeyJ8=; b=olf6ohZgJr2y3/OuUSXsbNmh6ntRGpbQH9oZTYcNLm/yvDiGm7p8ylmq+DnzIVxD4i Xj8uT1TOOGQuiOkibG/oC6Z4gNLbMgywc+OszNGhTMcifj0ypAT7yJbeujy1WpB+I/vW SvVkzgCcRy3KpgVXGQ25VCSGuoS+UeJnJsL/5Xo6hu6o16WXQ7PpsMyFsT/xZyKN9AHH 5Un/aIHTtf7RFGhFTNxKtJgALukn+O+pSnkhYWw6F4rd54gW47X9pvYlWgCgiEBYY2EK mPtxpVUQJN9Sun8stPu94KOAdpCWk1ND0EAWy54An1A6d3YpZJBsKBedEbTHH4D9lG3m UYLQ== X-Gm-Message-State: APjAAAXtr8YqXmZmJF/ealFPCMEuHsU7488Ypn7gHICKP7mgRzi1SDxT hqx2yatJ3B6jRctOyOiQ8LQ= X-Google-Smtp-Source: APXvYqwr+5yaOkbMni07fxas2yQ4iLNwamE2jP+3D4wKXqDI1SX9y+jqv6qVFZc5ehI1ie6pX+fIrA== X-Received: by 2002:a5d:4d42:: with SMTP id a2mr16952356wru.31.1574171877687; Tue, 19 Nov 2019 05:57:57 -0800 (PST) Received: from szeder.dev (x4d0c2755.dyn.telefonica.de. [77.12.39.85]) by smtp.gmail.com with ESMTPSA id l10sm31037458wrg.90.2019.11.19.05.57.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Nov 2019 05:57:56 -0800 (PST) Date: Tue, 19 Nov 2019 14:57:55 +0100 From: SZEDER =?utf-8?B?R8OhYm9y?= To: Eric Wong Cc: meta@public-inbox.org Subject: Re: [PATCH 3/3] mboxgz: use Compress::Raw::Zlib instead of IO::Compress::Gzip Message-ID: <20191119135754.GE23183@szeder.dev> References: <20191116023439.32410-1-e@80x24.org> <20191116023439.32410-4-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191116023439.32410-4-e@80x24.org> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: 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