DataBufferUtils.read(ReadableByteChannel,...) may corrupt data when used with NettyDataBuffers [SPR-16070] #20619
If published buffer is not immediately consumed,
Here is a test reproducing the problem"
Another problem with this method is that reusing the same
For now we're interested in Netty only, so we fixed it in the following way:
This way to fix both the corruption and get rid of unnecessary copy.
Unfortunately, the idiom doesn't work well for
Affects: 5.0 GA
Referenced from: commits c7a1526
1 votes, 3 watchers