Closed pinchal closed 7 years ago
Hello, thank you for this patch. It looks good. I wasn't aware of this feature, and probably a lot of users aren't either. I'm pretty sure libzmq would merge a documentation patch regarding the documentation of this "unmonitor" feature.
You're welcome.
I have a very tricky issue on libzmq when a monitored socket is destroyed (something that randomly makes all other ipc sockets to freeze). I plan to open a ticket on libzmq but I have to look deeper, meanwhile unmonitor sockets before destruction avoid the problem.
Sockets can be unmonitored. This is not mentioned in documentation (which is pretty unclear), but the feature is implemented (https://github.com/zeromq/libzmq/blob/master/src/socket_base.cpp#L1592).
This merge add: