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=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 806111FB07 for ; Tue, 5 Oct 2021 12:48:04 +0000 (UTC) From: Eric Wong To: mwrap-perl@80x24.org Subject: [PATCH 4/7] examples/mwrap.psgi: disable deflater Date: Tue, 5 Oct 2021 12:48:00 +0000 Message-Id: <20211005124803.7215-5-e@80x24.org> In-Reply-To: <20211005124803.7215-1-e@80x24.org> References: <20211005124803.7215-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: It probably doesn't make sense to enable in this example since Mwrap's PSGI output is only meant for localhost users. --- examples/mwrap.psgi | 8 -------- 1 file changed, 8 deletions(-) diff --git a/examples/mwrap.psgi b/examples/mwrap.psgi index 41edd76..8eb66b0 100644 --- a/examples/mwrap.psgi +++ b/examples/mwrap.psgi @@ -9,14 +9,6 @@ my $mw = Devel::Mwrap::PSGI->new; delete $ENV{LD_PRELOAD}; # don't impose in subprocesses builder { - eval { - enable 'Deflater', - content_type => [ qw( - text/html - text/plain - application/atom+xml - )] - }; # Plack::Middleware::Deflater may not be installed enable 'Head'; sub { $mw->call($_[0]) }; }