netty/netty — pull request #1751 by normanmaurer (2013-08-16 19:56:58+00:00)
Title: Make sure only direct ByteBuffer are passed to the underlying jdk Channe...

...l.

This is needed because of otherwise the JDK itself will do an extra ByteBuffer copy with it's own pool implementation. Even worth it will be done
multiple times if the ByteBuffer is always only partial written. With this change the copy is done inside of netty using it's own allocator and
only be done one time in all cases.