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 C39161F45F for ; Sun, 5 May 2019 20:42:20 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] httpd: get rid of Deflater warning Date: Sun, 5 May 2019 20:42:20 +0000 Message-Id: <20190505204220.30345-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Deflating responses may be done by the reverse proxy (e.g. varnish or nginx), so the warning for it could be invalid. --- examples/public-inbox.psgi | 2 -- script/public-inbox-httpd | 2 -- 2 files changed, 4 deletions(-) diff --git a/examples/public-inbox.psgi b/examples/public-inbox.psgi index 8886d7f..0b8500d 100644 --- a/examples/public-inbox.psgi +++ b/examples/public-inbox.psgi @@ -25,8 +25,6 @@ builder { application/atom+xml )] }; - $@ and warn -"Plack::Middleware::Deflater missing, bandwidth will be wasted\n"; # Enable to ensure redirects and Atom feed URLs are generated # properly when running behind a reverse proxy server which diff --git a/script/public-inbox-httpd b/script/public-inbox-httpd index 47e38ec..56551ed 100755 --- a/script/public-inbox-httpd +++ b/script/public-inbox-httpd @@ -32,8 +32,6 @@ my $refresh = sub { application/atom+xml )] }; - $@ and warn -"Plack::Middleware::Deflater missing, bandwidth will be wasted\n"; eval { enable 'ReverseProxy' }; $@ and warn -- EW