Fix buffer leak in MultipartParser
This change fixes a buffer leak when the MultipartParser is encountering a body DataBuffer that only contains a boundary. Closes gh-33094
This commit is contained in:
parent
850a0de1b0
commit
722dcae1b1
|
|
@ -557,6 +557,7 @@ final class MultipartParser extends BaseSubscriber<DataBuffer> {
|
|||
}
|
||||
else /* if (len == 0) */ {
|
||||
// buffer starts with complete delimiter, flush out the previous buffers
|
||||
DataBufferUtils.release(boundaryBuffer);
|
||||
flush();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue