diff options
author | Eric Wong <e@80x24.org> | 2016-03-12 03:41:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-04-05 18:58:27 +0000 |
commit | 78951743029a1d0074ff447c612b2750a83623e5 (patch) | |
tree | dfa1ec0df93302d9c2ec52fcbf64deba7db8cdde /examples | |
parent | 5f23d7e860773bfc585eb45cff028cee5b652d51 (diff) | |
download | public-inbox-78951743029a1d0074ff447c612b2750a83623e5.tar.gz |
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. Followup-to: dca2724e0aeb ("examples: disable Chunked response in PSGI example")
Diffstat (limited to 'examples')
-rw-r--r-- | examples/repobrowse.psgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/repobrowse.psgi b/examples/repobrowse.psgi index be4c1d2b..faf8c331 100644 --- a/examples/repobrowse.psgi +++ b/examples/repobrowse.psgi @@ -15,7 +15,9 @@ use Plack::Builder; my $repobrowse = PublicInbox::Repobrowse->new; builder { - enable 'Chunked'; + # Chunked middleware conflicts with Starman: + # https://github.com/miyagawa/Starman/issues/23 + # enable 'Chunked'; eval { enable 'Deflater', content_type => [ 'text/html', 'text/plain', |