diff options
author | Eric Wong <e@80x24.org> | 2016-04-06 06:30:28 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-04-06 06:30:28 +0000 |
commit | 12232b34a53165cb07cf94aa00fde8a59bbacd0e (patch) | |
tree | c7305c3472abbfd4945c1739fce7fe340f583f44 | |
parent | c3eeaf664cf0458b075c2f23b18abeb5d720058e (diff) | |
download | public-inbox-12232b34a53165cb07cf94aa00fde8a59bbacd0e.tar.gz |
Default to maximizing compatibility in the example, but document the potential improvement if possible. Of course, using public-inbox-httpd out-of-the-box without a user-specified config file already enables chunked encoding by default.
-rw-r--r-- | examples/public-inbox.psgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/public-inbox.psgi b/examples/public-inbox.psgi index 71592a7a..876fc762 100644 --- a/examples/public-inbox.psgi +++ b/examples/public-inbox.psgi @@ -14,6 +14,8 @@ my $www = PublicInbox::WWW->new; builder { # 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', |