X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=examples%2Fpublic-inbox.psgi;h=876fc76226d651d60dbe2901f89332fabcfd0f06;hb=852df982d88dcfaa49a1398cd6ef30973bcaaa09;hp=f57491228e55fb7f00164c0df4878e8902285ddf;hpb=0449c3c4ac1a60dde24225d648546362c3bc3fa1;p=public-inbox.git
diff --git a/examples/public-inbox.psgi b/examples/public-inbox.psgi
index f5749122..876fc762 100644
--- a/examples/public-inbox.psgi
+++ b/examples/public-inbox.psgi
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-# Copyright (C) 2014-2015 all contributors
-# License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt)
+# Copyright (C) 2014-2016 all contributors
+# License: GPL-3.0+
# Note: this is part of our test suite, update t/plack.t if this changes
# Usage: plackup [OPTIONS] /path/to/this/file
# A startup command for development which monitors changes:
@@ -9,11 +9,14 @@ use strict;
use warnings;
use PublicInbox::WWW;
PublicInbox::WWW->preload;
-use Plack::Request;
use Plack::Builder;
my $www = PublicInbox::WWW->new;
builder {
- enable 'Chunked';
+ # 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',
content_type => [ qw(