[zeromq-dev] [PATCH] Add msg_t::label flag

Fabien Ninoles fabien at tzone.org
Sat May 21 03:23:57 CEST 2011


Here the patch.  It breaks backward compatibility mainly but only 
because it checks for the presence of the flag at the appropriate 
place.  I still can roll a patch for 2.2 branch to make a nicer 
transition between both.  If it's the case, it would be a good idea to 
remove the now useless delimiter in the master branch (I can also make 
the code more aware of both protocols but that can pollute the code and 
accept messages that are just plain wrong).

Also, I take the liberty to add msg_t::check_flags message to avoid the 
horrible lines where I need to check presence of multiple flags 
together.  Hope it is useful (and it should take much more CPU :) ).

Tell me if anything wrong with it,

Thanks,
Fabien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-msg_t-label-flag.patch
Type: text/x-patch
Size: 19980 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110520/8a0cb79d/attachment.bin>


More information about the zeromq-dev mailing list