]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
t/httpd-corner: improve EPIPE/SIGPIPE handling
authorEric Wong <e@80x24.org>
Tue, 29 Apr 2025 17:16:45 +0000 (17:16 +0000)
committerEric Wong <e@80x24.org>
Thu, 1 May 2025 21:29:41 +0000 (21:29 +0000)
commited658776518083451e7dfb71479a6819cb3ed112
treea6d01646f46a145505c72a6082b1eaf52a5f3e2b
parente248682cc7dd1e65aaafec278ed059f2f8e68eb5
t/httpd-corner: improve EPIPE/SIGPIPE handling

We'll ignore SIGPIPE as we do in other places so we can get
EPIPE on failed `print' calls.  Furthermore, it's possible we'll
hit EPIPE before we see an 400 HTTP response code when making
bad requests.  I've noticed this problem on slower single CPU
machines.
t/httpd-corner.t