streadway/amqp — pull request #56 by elmacnifico (2013-04-04 21:44:26+00:00)
Title: fixes issue with wrong assumption about binary protocol

the original implementation thought that "size" would describe the
number of elements in the following array while it in fact desribes the
number of bytes that will be in the following array. so any assumption
about the number of elements would be flawed and lead to too many
itterations ending in EOF reading errors