Skip to content

Add reentrancy guards to telnetd_poll and websocketd_poll#20

Open
siganberg wants to merge 1 commit intogrblHAL:masterfrom
siganberg:fix/reentrancy-guards
Open

Add reentrancy guards to telnetd_poll and websocketd_poll#20
siganberg wants to merge 1 commit intogrblHAL:masterfrom
siganberg:fix/reentrancy-guards

Conversation

@siganberg
Copy link

Prevents recursive calls when stream_tx_blocking callback triggers enet_poll during high-frequency status polling (e.g., 50ms intervals).

Without this guard, TX buffer saturation causes cascading blocking that can exhaust resources and hang the connection after extended idle periods.

Prevents recursive calls when stream_tx_blocking callback triggers
enet_poll during high-frequency status polling (e.g., 50ms intervals).

Without this guard, TX buffer saturation causes cascading blocking
that can exhaust resources and hang the connection after extended
idle periods.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant