Update codec-http/src/main/java/io/netty/handler/codec/http/HttpPostRequestDecoder.java
This commit is contained in:
parent
5d2bf43b59
commit
ac39f39f36
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user