netty/netty — pull request #2313 by itzg (2014-03-13 13:18:51+00:00)
Title: Unit test and proposed solution for issue #2312

This pull request re-creates issue #2312 and provides a proposed solution. It actually matches the logic used one method down in `internalNioBuffer`.