[zeromq-dev] Stuck REQ after REP crash

Victor Nakoryakov nail.xx at gmail.com
Sat Aug 7 18:56:08 CEST 2010

Hi all!

I'm using REQ/REP sockets and in doubt about one scenario.

What if a service that produces replies will peek a subsequent request
and somewhere before replying will crash? In this case requester will
continue to wait for the reply, and will do this forever. Consider
there is a mechanism that allows to re-process the request by replier
and to form the reply. However I can't do rep_socket.send before
rep_socket.recv. So in any case looks like the REQ socket is stuck

Am I missing something? Thanks for any help.


More information about the zeromq-dev mailing list