Closed
Description
This is based on investigation under reactor/reactor-netty#1374.
In DataBufferUtils#join
we use a custom List to collect buffers and check the total buffered size. When a buffer is added that hits the limit, an error is raised but this causes a double release of the current buffer because Reactor's MonoCollect
discards both the item that was passed to the add method and all items in the list. That leads to a double decrease of the refCount when it should be decremented only once.
Metadata
Metadata
Assignees
Labels
Type
Projects
Relationships
Development
No branches or pull requests
Activity
LimitedDataBufferList adds or raises error
zhou-hao commentedon Jan 19, 2021
Will
5.2.13
fix this problem?bclozel commentedon Jan 19, 2021
@zhou-hao it was fixed in
5.2.12
, see the linked issue #260616 remaining items