parent
0522c4ffc4
commit
6bd6be0b09
@ -130,15 +130,10 @@ final class HttpPostBodyUtil {
|
|||||||
*/
|
*/
|
||||||
static class SeekAheadOptimize {
|
static class SeekAheadOptimize {
|
||||||
byte[] bytes;
|
byte[] bytes;
|
||||||
|
|
||||||
int readerIndex;
|
int readerIndex;
|
||||||
|
|
||||||
int pos;
|
int pos;
|
||||||
|
|
||||||
int origPos;
|
int origPos;
|
||||||
|
|
||||||
int limit;
|
int limit;
|
||||||
|
|
||||||
ChannelBuffer buffer;
|
ChannelBuffer buffer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -857,7 +857,7 @@ public class HttpPostRequestDecoder {
|
|||||||
sao = new SeekAheadOptimize(undecodedChunk);
|
sao = new SeekAheadOptimize(undecodedChunk);
|
||||||
} catch (SeekAheadNoBackArrayException e) {
|
} catch (SeekAheadNoBackArrayException e) {
|
||||||
try {
|
try {
|
||||||
skipControlCharactersStandard(undecodedChunk);
|
skipControlCharactersStandard();
|
||||||
} catch (IndexOutOfBoundsException e1) {
|
} catch (IndexOutOfBoundsException e1) {
|
||||||
throw new NotEnoughDataDecoderException(e1);
|
throw new NotEnoughDataDecoderException(e1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user