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(async_internal_read): Ensure that all pending data has been processed before returning Ok(0) #48

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

AnthonyGrondin
Copy link
Contributor

This fixes a weird issue I was having while making TLS connections as a client, where Ok(0) could be returned early from async_internal_read(), while there are still records to be processed from the ssl context.

Copy link
Collaborator

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your continued effort you put into this

@bjoernQ bjoernQ merged commit 236724d into esp-rs:main Sep 10, 2024
1 check passed
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