Skip to content

Commit b2218f1

Browse files
committed
remove duplicate readbyte
1 parent 53097b2 commit b2218f1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/DotNetty.Handlers/Tls/TlsHandler.Writer.cs

-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ private void Wrap(IChannelHandlerContext context)
170170
composite.Release();
171171
}
172172
_lastContextWritePromise = promise;
173-
_ = buf.ReadBytes(_sslStream, readableBytes); // this leads to FinishWrap being called 0+ times
174173
if (buf.IsReadable())
175174
{
176175
_ = buf.ReadBytes(_sslStream, readableBytes); // this leads to FinishWrap being called 0+ times

0 commit comments

Comments
 (0)