]> Sergey Matveev's repositories - public-inbox.git/commit
http: ensure errors are printable before PSGI env
authorEric Wong <e@80x24.org>
Sun, 6 Mar 2016 02:09:21 +0000 (02:09 +0000)
committerEric Wong <e@80x24.org>
Sun, 6 Mar 2016 02:10:27 +0000 (02:10 +0000)
commit417da3e8e52776ca539572dbc023ad02bb359dd1
treed7050bb27eb5037bfd84c22a8d7ecbb983651c3d
parent90d7c7c49b6af90624cca042deb9af38a5e44a2f
http: ensure errors are printable before PSGI env

We cannot rely on a client socket having a PSGI env before headers
are fully-parsed as we seek to avoid storing hashes for idle
clients.  Sso print errors to the psgi.errors value which belongs to
the httpd listener, instead.
lib/PublicInbox/HTTP.pm