mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
NettyDataBufferFactory.wrap(ByteBuf) calls touch()
Closes gh-21960
This commit is contained in:
+1
@@ -90,6 +90,7 @@ public class NettyDataBufferFactory implements DataBufferFactory {
|
||||
* @return the wrapped buffer
|
||||
*/
|
||||
public NettyDataBuffer wrap(ByteBuf byteBuf) {
|
||||
byteBuf.touch();
|
||||
return new NettyDataBuffer(byteBuf, this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user