undertow-io/undertow — pull request #205 by golovnin (2014-05-27 20:52:35+00:00)
Title: Fixes two bugs in FrameHandler#toArray(ByteBuffer...)

Fixes BufferUnderflowException when a message is splitted over multiple ByteBuffers and avoids reading of garbage when a message fits into a single ByteBuffer backed by an array which is larger than the message.