Skip to content

DataBufferUtils#takeUntilByteCount checks one extra buffer but does not release it [SPR-17118] #21655

@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-17118 and commented

The current implementation relies on Flux#takeWhile to be invoked with one extra buffer beyond the buffer for which the max byte count was reached. However that extra buffer is not released. Arguably it should not even have to wait for for an extra buffer, when it already knows the max byte count was reached.


Affects: 5.0.8

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions