ruby-amqp / amq-protocol

AMQP 0.9.1 protocol serialization and deserialization implementation for Ruby (2.0+)
http://groups.google.com/group/ruby-amqp
MIT License
48 stars 31 forks source link

Fix framing issue in the encode_body() method #34

Closed nviennot closed 11 years ago

nviennot commented 11 years ago

When the payload is frame_size - 8, encode_body generate an extra frame of 0 length. This makes RabbitMQ angry.

nviennot commented 11 years ago

Related to https://github.com/ruby-amqp/bunny/issues/154

michaelklishin commented 11 years ago

I will cut a new release later today (BST). Thank you very much!

nviennot commented 11 years ago

Great! Thank you :)