From: Eric Wong Date: Sat, 12 Mar 2016 03:14:26 +0000 (+0000) Subject: examples: disable Chunked response in PSGI example X-Git-Tag: v1.0.0~634 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=dca2724e0aebc5832a0c88ec944a925daf21b9be examples: disable Chunked response in PSGI example It seems incompatible with Starman and probably confuses other HTTP/1.0-only servers, too. Our -httpd will respect it and requires it for persistent connections. --- diff --git a/examples/public-inbox.psgi b/examples/public-inbox.psgi index 55c113e4..71592a7a 100644 --- a/examples/public-inbox.psgi +++ b/examples/public-inbox.psgi @@ -12,7 +12,9 @@ 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 + # enable 'Chunked'; eval { enable 'Deflater', content_type => [ qw(