From 12232b34a53165cb07cf94aa00fde8a59bbacd0e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 6 Apr 2016 06:30:28 +0000 Subject: 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. --- examples/public-inbox.psgi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') 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', -- cgit v1.2.3-24-ge0c7