Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Aug 2, 2018 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Aug 2, 2018

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants