[zeromq-dev] [PATCH] LABEL flag added to the wire format
Martin Sustrik
sustrik at 250bpm.com
Mon Jun 20 13:27:05 CEST 2011
On 06/20/2011 01:16 PM, Pieter Hintjens wrote:
> Uhm... no. If you want people to take part in the thought process,
> document your work in progress. No-one else is responsible for that.
Ok. So what happened is that I've added a LABEL flag to tell apart
message parts that are used by 0MQ to drive its business logic (such as
backtrace stack in request/reply pattern) and those containing user data.
The rationale is that having a special flag for this kind of thing, any
layer in the stack can tell the user data from 0MQ-specific data without
having to parse the actual content of the message parts.
For example, introduction of this flag allows to get rid of "backtrace
stack delimiter" (the empty message part in any req/rep message).
Another example: Imagine wireshark to be able to display user data in a
separate box from 0MQ-specific data.The same applies for any deep packet
inspection tool.
Martin
More information about the zeromq-dev
mailing list