Skip to content

Conversation

@aead
Copy link
Member

@aead aead commented Sep 9, 2025

This commit improves the internal buffer pool usage. Now, recycling a buffer pool guarantees that the buffer is returned to the pool only once. This allows readers and writers to return buffers in more scenarios and as soon as possible.

@aead aead requested review from shtripat and vadmeste September 9, 2025 09:18
@aead aead self-assigned this Sep 9, 2025
This commit improves the internal buffer pool usage.
Now, recycling a buffer pool **guarantees** that the
buffer is returned to the pool only once. This allows
readers and writers to return buffers in more scenarios
and as soon as possible.

Signed-off-by: Andreas Auernhammer <[email protected]>
@harshavardhana harshavardhana merged commit b811007 into master Sep 9, 2025
@harshavardhana harshavardhana deleted the buffer-pool branch September 9, 2025 09:28
@klauspost
Copy link
Contributor

<3 - was there a leak or just defensive precaution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants