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

Tony Garnock-Jones tonyg at rabbitmq.com
Sat Aug 7 14:52:57 BST 2010

In rabbit_binary_parser.erl, what used to be ensure_content_decoded/1 is now
endure_content_decoded/2, presumably for multi-protocol support. However, it is
always called with a hard-coded protocol parameter of rabbit_framing_amqp_0_9_1.

Shouldn't it be /1 as before, and decide which protocol to use based on


More information about the rabbitmq-discuss mailing list