about summary refs log tree commit homepage
path: root/examples
diff options
authorEric Wong <e@80x24.org>2016-04-06 06:30:28 +0000
committerEric Wong <e@80x24.org>2016-04-06 06:30:28 +0000
commit12232b34a53165cb07cf94aa00fde8a59bbacd0e (patch)
treec7305c3472abbfd4945c1739fce7fe340f583f44 /examples
parentc3eeaf664cf0458b075c2f23b18abeb5d720058e (diff)
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.
Diffstat (limited to 'examples')
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',