diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpPostRequestDecoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpPostRequestDecoder.java index 50adf9a206..ce57925395 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpPostRequestDecoder.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/HttpPostRequestDecoder.java @@ -26,8 +26,8 @@ import java.util.TreeMap; import io.netty.buffer.ChannelBuffer; import io.netty.buffer.ChannelBuffers; -import org.jboss.netty.handler.codec.http2.HttpPostBodyUtil.SeekAheadNoBackArray; -import org.jboss.netty.handler.codec.http2.HttpPostBodyUtil.SeekAheadOptimize; +import io.netty.handler.codec.http.HttpPostBodyUtil.SeekAheadNoBackArray; +import io.netty.handler.codec.http.HttpPostBodyUtil.SeekAheadOptimize; import io.netty.handler.codec.http.HttpPostBodyUtil.TransferEncodingMechanism; /** @@ -883,7 +883,7 @@ public class HttpPostRequestDecoder { throws ErrorDataDecoderException { // --AaB03x or --AaB03x-- int readerIndex = undecodedChunk.readerIndex(); - skipControlCharacters(undecodedChunk); + skipControlCharacters(); skipOneLine(); String newline; try { @@ -924,7 +924,7 @@ public class HttpPostRequestDecoder { } // read many lines until empty line with newline found! Store all data while (!skipOneLine()) { - skipControlCharacters(undecodedChunk); + skipControlCharacters(); String newline; try { newline = readLine();