]> Sergey Matveev's repositories - public-inbox.git/commit
gzipfilter: drop HTTP connection on bugs or data corruption
authorEric Wong <e@yhbt.net>
Sun, 5 Jul 2020 23:27:57 +0000 (23:27 +0000)
committerEric Wong <e@yhbt.net>
Mon, 6 Jul 2020 20:01:15 +0000 (20:01 +0000)
commita4d8c547df4abf7bd06d4e7eccddfeabb4fc04f7
tree1005b49b916bef7f3dcc07b5786135c2111ca7ac
parent6df377a693070bcbfa63b681f329a353457dbe7f
gzipfilter: drop HTTP connection on bugs or data corruption

While all the {async_next} callbacks needed eval guards anyways
because of DS->write, {async_eml} callbacks did not.

Ensure any bugs in our code or data corruption result in
termination of the HTTP connection, so as not to leave clients
hanging on a response which never comes or is mangled in some
way.
lib/PublicInbox/GzipFilter.pm