Closed rdumusc closed 8 years ago
Setting ZMQ_LINGER to something low or even 0 is one fix. ZMQ_NOBLOCK could as well, but appears to have issue on closing the socket: http://stackoverflow.com/questions/7538988/zeromq-how-to-prevent-infinite-wait
Thanks to @favreau for testing. ZMQ_NOBLOCK seems to do the trick. Will attack this next week and try to add test for it :)
Thanks @tribal-tec ! :)
The application deadlocks at ::zmq::send() at lines 195-197 of server.cpp trying to send a return code 200: