mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-21 12:24:29 +02:00
Mac: Fix network loss occasionally being BrokenPipeError
This commit is contained in:
parent
4acbd419cf
commit
fea5bb4c5e
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue