Skip to content
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

fix: avoid busy loop on insufficient bytes on connection #207

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

sunng87
Copy link
Owner

@sunng87 sunng87 commented Sep 28, 2024

Our previous implementation of peeking first packet can result in busy loop when insufficient bytes sent to server. This is because peek will return immediately when it has bytes available.

@sunng87 sunng87 changed the base branch from 0.24 to master September 28, 2024 05:05
@sunng87 sunng87 merged commit f04f2ce into master Sep 28, 2024
6 checks passed
@sunng87 sunng87 deleted the fix/remove-peek branch September 28, 2024 05:20
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