ZMQ_FAIL_UNROUTABLE is poorly designed and broken.
kobolog opened this issue · 1 comments
kobolog commented
Fix the design of the ZMQ_FAIL_UNROUTABLE socket option to actually fail in a deterministic manner. Also, rework the feature to fail with a common EAGAIN error code, so that the common send() code in socket_base.cpp could detect it and use the block-with-timeout logic to wait for the unknown peer to appear.