[rabbitmq-discuss] rabbit_binary_parser:ensure_content_decoded/2 - why /2 rather than /1?

Tony Garnock-Jones tonyg at rabbitmq.com
Sat Aug 7 21:29:13 BST 2010


Matthias Radestock wrote:
> No! That would prevent any transcoding between different protocol
> versions. While the higher-level APIs currently do not support that
> (since it is not needed), the lower ones certainly do.

Fair enough.

> It *is* exhaustive.

It looks like it doesn't handle the case where you have only a binary encoded
form of the headers (properties = none), in a protocol different from the one
you want.

Tony



More information about the rabbitmq-discuss mailing list