]> Sergey Matveev's repositories - public-inbox.git/commitdiff
examples/public-inbox.psgi: add note for our httpd
authorEric Wong <e@80x24.org>
Wed, 6 Apr 2016 06:30:28 +0000 (06:30 +0000)
committerEric Wong <e@80x24.org>
Wed, 6 Apr 2016 06:30:28 +0000 (06:30 +0000)
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.

examples/public-inbox.psgi

index 71592a7a2d547a9bfb6ad51b542b4ea15828bdcb..876fc76226d651d60dbe2901f89332fabcfd0f06 100644 (file)
@@ -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',