diff --git a/handler/src/main/java/io/netty/handler/stream/ChunkedNioStream.java b/handler/src/main/java/io/netty/handler/stream/ChunkedNioStream.java index fbe07bd091..ff844b5288 100644 --- a/handler/src/main/java/io/netty/handler/stream/ChunkedNioStream.java +++ b/handler/src/main/java/io/netty/handler/stream/ChunkedNioStream.java @@ -61,7 +61,6 @@ public class ChunkedNioStream implements ChunkedInput { " (expected: a positive integer)"); } this.in = in; - offset = 0; this.chunkSize = chunkSize; byteBuffer = ByteBuffer.allocate(chunkSize); }