Skip to content

Commit

Permalink
Switch back to DiscardSomeReadBytes since it's avaliable
Browse files Browse the repository at this point in the history
  • Loading branch information
yyjdelete committed Jul 8, 2018
1 parent 8216d88 commit f9b86a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DotNetty.Codecs/ByteToMessageDecoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ protected void DiscardSomeReadBytes()
// See:
// - https://github.com/netty/netty/issues/2327
// - https://github.com/netty/netty/issues/1764
this.cumulation.DiscardReadBytes(); // todo: use discardSomeReadBytes
this.cumulation.DiscardSomeReadBytes();
}
}

Expand Down

0 comments on commit f9b86a0

Please sign in to comment.