[zeromq-dev] [PATCH] Session termination error fixed

Martin Sustrik sustrik at 250bpm.com
Sun Jun 19 18:08:37 CEST 2011


On 06/19/2011 05:58 PM, Fabien Niñoles wrote:
> Isn't there is still a race condition between the creation of the
> pipes in process_attach and the timer event triggering ?  Shouldn't
> any attach command been discarded once a term command is received ?

No. Attach command can't be discarded once term command was received.

If there are still pending messages to send, session has to be able to 
reconnect (and thus re-attach) to the peer, although it's owner socket 
is already closed.

Martin



More information about the zeromq-dev mailing list