We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47f5ec7 commit 62bcb60Copy full SHA for 62bcb60
1 file changed
src/DotNetty.Transport/Channels/Sockets/AbstractSocketByteChannel.cs
@@ -103,7 +103,7 @@ public override void FinishRead(SocketChannelAsyncOperation operation)
103
do
104
{
105
byteBuf = allocHandle.Allocate(allocator);
106
- //int writable = byteBuf.WritableBytes;
+ allocHandle.AttemptedBytesRead = byteBuf.WritableBytes;
107
allocHandle.LastBytesRead = ch.DoReadBytes(byteBuf);
108
if (allocHandle.LastBytesRead <= 0)
109
0 commit comments