ceejbot/fivebeans — pull request #13 by mathrawka (2013-05-14 05:12:23+00:00)
Title: Properly handle server replies that are grouped together

TCP can group them together in one emitted data, so properly loop over the buffer until there are no more replies.

This was causing callbacks to take a varying amount of time to get called. For low traffic beanstalk clients, it could take hours for the callback to finally get called.