From d883d4a93b23be134038e28f421eafca70c3d838 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 5 May 2019 20:42:20 +0000 Subject: [PATCH] httpd: get rid of Deflater warning 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 8886d7fa..0b8500d5 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 47e38eca..56551ede 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 -- 2.44.0