about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-25 11:21:40 +0000
committerEric Wong <e@80x24.org>2015-12-25 12:05:42 +0000
commita5409589fe53734ed073dddb15f0a8033052986b (patch)
tree61f98ce9c4bd3a5d082e90581788902d41c0b97d /examples
parent0deae67a5ee9760ce500a8a989071aa4ce08b05e (diff)
downloadpublic-inbox-a5409589fe53734ed073dddb15f0a8033052986b.tar.gz
HTTP/1.1 clients will want persistent connections and
need to know response terminations.
Diffstat (limited to 'examples')
-rw-r--r--examples/public-inbox.psgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/public-inbox.psgi b/examples/public-inbox.psgi
index b0b9ae98..4d34b426 100644
--- a/examples/public-inbox.psgi
+++ b/examples/public-inbox.psgi
@@ -12,6 +12,7 @@ use Plack::Builder;
 my $have_deflater = eval { require Plack::Middleware::Deflater; 1 };
 
 builder {
+        enable 'Plack::Middleware::Chunked';
         if ($have_deflater) {
                 enable "Deflater",
                         content_type => [ 'text/html', 'text/plain',