Fix JsonObjectDecoder chunks handling
Issue: SPR-14859
This commit is contained in:
@@ -118,6 +118,7 @@ class JsonObjectDecoder extends AbstractDecoder<DataBuffer> {
|
||||
this.writerIndex = this.input.writerIndex();
|
||||
}
|
||||
else {
|
||||
this.index = this.index - this.input.readerIndex();
|
||||
this.input = Unpooled.copiedBuffer(this.input,
|
||||
Unpooled.copiedBuffer(buffer.asByteBuffer()));
|
||||
DataBufferUtils.release(buffer);
|
||||
|
||||
Reference in New Issue
Block a user