X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=examples%2Fpublic-inbox.psgi;h=876fc76226d651d60dbe2901f89332fabcfd0f06;hb=12232b34a53165cb07cf94aa00fde8a59bbacd0e;hp=dcca3b09a3e1e30b324c32dfb1f5edb876b71184;hpb=997e3033e58dfd101d5e5bb7491c609fde75099f;p=public-inbox.git diff --git a/examples/public-inbox.psgi b/examples/public-inbox.psgi index dcca3b09..876fc762 100644 --- a/examples/public-inbox.psgi +++ b/examples/public-inbox.psgi @@ -9,11 +9,14 @@ use strict; use warnings; use PublicInbox::WWW; PublicInbox::WWW->preload; -use Plack::Request; use Plack::Builder; my $www = PublicInbox::WWW->new; builder { - enable 'Chunked'; + # Chunked middleware conflicts with Starman: + # https://github.com/miyagawa/Starman/issues/23 + # However, it is strongly recommended to enable it if using + # public-inbox-httpd to allow persistent connections + # enable 'Chunked'; eval { enable 'Deflater', content_type => [ qw(