From: Eric Wong Date: Sun, 5 May 2019 20:42:20 +0000 (+0000) Subject: httpd: get rid of Deflater warning X-Git-Tag: v1.2.0~283 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=d883d4a93b23be134038e28f421eafca70c3d838 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. --- 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