You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation, if ZMQ_LINGER is set to 0 then zmq_ctx_term will not block if there is pending sends. However, this doesn't seem to work if the connection never succeeded. This snippet reproduces the behavior. It is worth noting that if the connect ever succeeded (even if it is disconnected at the time of close and term) it will not hang. This only happens if the connect never succeeded.
I'm not sure if this is related to #1279 so I opened this as a new ticket. If they are related, please merge as needed
Nevermind this is user error, I misunderstood the api for zmq_setsockopt. If I pass a pointer to an integer with the value of 0 then it works as documented. Sorry for the noise.
According to the documentation, if ZMQ_LINGER is set to 0 then zmq_ctx_term will not block if there is pending sends. However, this doesn't seem to work if the connection never succeeded. This snippet reproduces the behavior. It is worth noting that if the connect ever succeeded (even if it is disconnected at the time of close and term) it will not hang. This only happens if the connect never succeeded.
I'm not sure if this is related to #1279 so I opened this as a new ticket. If they are related, please merge as needed
The text was updated successfully, but these errors were encountered: