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

[hl] Ignore WANT_READ/WANT_WRITE errors when the socket is known to b… #11655

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

Apprentice-Alchemist
Copy link
Contributor

…e blocking.

Sometimes mbedtls returns WANT_READ/WANT_WRITE errors (the case I encountered while working on HaxeFoundation/hashlink#681 seems to be due to session tickets).
These should be interpreted as "retry when more data is known to be available", but there is no good way to express that in the current api when the socket is blocking other than returning zero.

Together with HaxeFoundation/hashlink#681 this should be enough to get rid of the HL+macOS failures in #11638.

@Simn Simn merged commit 8149e5e into HaxeFoundation:development Jul 25, 2024
50 checks passed
@Simn Simn mentioned this pull request Jul 25, 2024
@Apprentice-Alchemist Apprentice-Alchemist deleted the bugfix/hl-ssl branch July 25, 2024 18:49
kLabz pushed a commit that referenced this pull request Jul 29, 2024
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