[zeromq-dev] [PATCH] issue 211, REP socket futzing
ph at imatix.com
Fri May 6 17:18:54 CEST 2011
Attached is a patch against 3.0 master that fixes, afaict, the
assertion failure in REP sockets when they get messages lacking an
The issue is here: https://github.com/zeromq/libzmq/issues/211
The code doesn't close the connection, but it does discard the message
and leave the state machine in the correct state. Tested with one
valid client doing requests in a loop, and an invalid client trying to
futz socket in parallel.
Also done on 2.1 and 2.2, so no downstreaming required.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2756 bytes
Desc: not available
More information about the zeromq-dev