Mac: Fix network loss occasionally being BrokenPipeError

This commit is contained in:
Roger A. Light 2026-01-26 18:59:53 +00:00
parent 4acbd419cf
commit fea5bb4c5e

View file

@ -17,7 +17,7 @@ def do_send(port, socks, payload):
sock.connect(("127.0.0.1", port))
try:
sock.send(payload)
except ConnectionResetError:
except (ConnectionResetError, BrokenPipeError):
pass
def do_test(port):