libzmq-rs
libzmq-rs copied to clipboard
Race condition on ZAP connect
~~https://github.com/zeromq/libzmq/issues/3523~~
~~We should block until the handler is ready by sending and empty message to its client.~~
See https://github.com/zeromq/libzmq/issues/3524. This causes the CI to randomly fail.
Basically this makes the inproc
transport not 100% reliable when tons of sockets are trying to authenticate at the same time. When this error occur, the authentication attempt fails so the socket stays in mute state, meaning the next recv
/ send
call will fail with WouldBlock
.
This is not a critical bug, but I it can bite you. However, I haven't encountered a used case where this could occur, other than in the unit tests for this library.