From: Eric Wong Date: Wed, 6 Apr 2016 06:30:28 +0000 (+0000) Subject: examples/public-inbox.psgi: add note for our httpd X-Git-Tag: v1.0.0~622 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=12232b34a53165cb07cf94aa00fde8a59bbacd0e examples/public-inbox.psgi: add note for our httpd 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. --- 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',