about summary refs log tree commit homepage
path: root/t/psgi_search.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-04 20:08:21 +0000
committerEric Wong <e@80x24.org>2022-08-04 20:09:53 +0000
commit27876bd1269d18f697847a724a8465318cb3cd67 (patch)
tree833993eb452da25824107eea11916fa1893a176b /t/psgi_search.t
parentc5c508f3094ffe7ef4a52f8c471340fe8992f6bb (diff)
downloadpublic-inbox-27876bd1269d18f697847a724a8465318cb3cd67.tar.gz
www: gzip_filter: avoid errors after ->write failure
->zflush must return a string to its caller, not undef.
Additionally, {http_out} may be deleted on ->write if ->close
recurses.

This should fix the following errors:
  Use of uninitialized value $_[1] in string eq at PublicInbox/HTTP.pm line 211.
  E: Can't call method "close" on an undefined value at GzipFilter.pm line 167.

Fixes: a6d50dc1098c01a1 (www: gzip_filter: gracefully handle socket ->write failures, 2022-08-03)
Diffstat (limited to 't/psgi_search.t')
0 files changed, 0 insertions, 0 deletions