From dca2724e0aebc5832a0c88ec944a925daf21b9be Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 12 Mar 2016 03:14:26 +0000 Subject: [PATCH] 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. --- examples/public-inbox.psgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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( -- 2.44.0