Skip to content

Commit f9b86a0

Browse files
committed
Switch back to DiscardSomeReadBytes since it's avaliable
1 parent 8216d88 commit f9b86a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DotNetty.Codecs/ByteToMessageDecoder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ protected void DiscardSomeReadBytes()
249249
// See:
250250
// - https://github.com/netty/netty/issues/2327
251251
// - https://github.com/netty/netty/issues/1764
252-
this.cumulation.DiscardReadBytes(); // todo: use discardSomeReadBytes
252+
this.cumulation.DiscardSomeReadBytes();
253253
}
254254
}
255255

0 commit comments

Comments
 (0)