about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-11-02 09:24:39 +0000
committerEric Wong <e@80x24.org>2021-11-02 11:13:46 +0000
commitf872a5e602a806c206019eaf0654abebba086f36 (patch)
tree70d375d55935db5ba36bab9f9b09f3e741f60b83 /lib/PublicInbox
parentbcc02b78e322f87d942459de874ba68b3fc06c39 (diff)
downloadpublic-inbox-f872a5e602a806c206019eaf0654abebba086f36.tar.gz
And improve reliability while we're at it.  It seems closing a
TCP listen socket on FreeBSD 12.2 doesn't cause connect()-ing
clients to fail.  This happens regardless of whether a socket is
IPv4 or IPv6

This non-failure was causing tests to timeout slowly on the
client side instead of failing immediately.  We now fork a new
process which does nothing but accept() + shutdown() to emulate
a dead server.

Reliability improves on all OSes since there's never a point in
time when another process can bind the socket.
Diffstat (limited to 'lib/PublicInbox')
0 files changed, 0 insertions, 0 deletions