]> Sergey Matveev's repositories - public-inbox.git/commitdiff
httpd: remove psgix.harakiri reference
authorEric Wong <e@80x24.org>
Tue, 8 Jan 2019 11:13:26 +0000 (11:13 +0000)
committerEric Wong <e@80x24.org>
Tue, 8 Jan 2019 19:27:34 +0000 (19:27 +0000)
We don't need to set "psgix." extension fields for things
we don't support.  This saves 138 bytes per-client in $env
as measured by Devel::Size::total_size

lib/PublicInbox/HTTPD.pm

index f923dbb641f518800f937fae68e98500ed2836a5..905afbb89b345404135733c2edbd0dc1cf44a31a 100644 (file)
@@ -27,7 +27,6 @@ sub new {
                'psgi.run_once'  => Plack::Util::FALSE,
                'psgi.multithread' => Plack::Util::FALSE,
                'psgi.multiprocess' => Plack::Util::TRUE,
-               'psgix.harakiri'=> Plack::Util::FALSE,
                'psgix.input.buffered' => Plack::Util::TRUE,
 
                # XXX unstable API!