]> Sergey Matveev's repositories - public-inbox.git/blobdiff - examples/public-inbox.psgi
examples/public-inbox.psgi: add note for our httpd
[public-inbox.git] / examples / public-inbox.psgi
index 55c113e425ae0010e77c392f04a733c3d9485f20..876fc76226d651d60dbe2901f89332fabcfd0f06 100644 (file)
@@ -12,7 +12,11 @@ PublicInbox::WWW->preload;
 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(