[rabbitmq-discuss] Security/resource limit questions

Matthias Radestock matthias at rabbitmq.com
Wed Jan 5 16:36:24 GMT 2011


Emile Joubert wrote:
> If a long shortstr reaches the broker it will produce a 
> "method_field_shortstr_overflow" exception in the framing layer.

That cannot happen on the inbound side. short strings are encoded with a 
1-byte length prefix, so there is no way for the client to send a long 
shortstr. And in a standard broker setup it cannot happen on the 
outbound side either since the broker does not create shortstrs (except 
for error messages, which get truncated at 255).

Matthias.


More information about the rabbitmq-discuss mailing list