[zeromq-dev] [PATCH] issue 211, REP socket futzing
Pieter Hintjens
ph at imatix.com
Fri May 6 17:18:54 CEST 2011
Martin,
Attached is a patch against 3.0 master that fixes, afaict, the
assertion failure in REP sockets when they get messages lacking an
envelope.
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.
-Pieter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixed-issue-211-REP-assert-on-missing-envelope.patch
Type: application/octet-stream
Size: 2756 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110506/8862047e/attachment.obj>
More information about the zeromq-dev
mailing list