postwait/node-amqp — pull request #293 by TheDeveloper (2014-01-17 11:03:58+00:00)
Title: Don't reference send buffer for socket writes

Fixes #292.

Difficult to reproduce via a test case, but I have deployed this patch to our infrastructure and so far it has eliminated all frame_error issues we were seeing under high message volume.

#292 is potentially a serious protocol corruption issue which may mean that method + header frames can be overwritten across distinct operations under high load or network backpressure conditions.