X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=script%2Fpublic-inbox-httpd;fp=script%2Fpublic-inbox-httpd;h=9b869f906032ed8e090f60d3c92ca62792ab47de;hb=b1d487f6024609908b9f195b2947a051615108f2;hp=b2464f4efc0d31be9909c872c3969353e33768c6;hpb=cd71a869c7e9c811081446c827699d5d37155bee;p=public-inbox.git diff --git a/script/public-inbox-httpd b/script/public-inbox-httpd index b2464f4e..9b869f90 100755 --- a/script/public-inbox-httpd +++ b/script/public-inbox-httpd @@ -24,7 +24,13 @@ my $refresh = sub { my $www = PublicInbox::WWW->new; $www->preload; $app = builder { - eval { + # Perl 5.16.3 leaks in our "push" response code path + # (e.g. Qspawn) due to something in + # Plack::Util::response_cb, regardless of whether the + # client is sending Accept-Encoding:gzip requests. + # perl5180delta documents many leak fixes, so assume + # 5.18+ is safe for now and bump the check as-need: + $] >= 5.018000 and eval { enable 'Deflater', content_type => [ qw( text/html