Skip to content

Conversation

@arturobernalg
Copy link
Member

Fix StackOverflowError from synchronous re-entrant callback dispatch in pools.
Add re-entrancy guard, factor releaseInternal, make drain iterative; mirror in LaxConnPool.
Preserves synchronous semantics; completions still drained inline.
Add regression tests: pre-fix overflows; post-fix iterates to high counts.

@arturobernalg arturobernalg requested a review from ok2c September 22, 2025 07:06
Guard callback drain in Strict/Lax pools; avoid fireCallbacks()->release() re-entry.
Prevents StackOverflowError under fast-fail connect/retry; no semantic change.
@ok2c
Copy link
Member

ok2c commented Sep 27, 2025

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.

2 participants