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

JSSE: return end of stream in WolfSSLInputStream.read() on SOCKET_ERROR_E #217

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

cconlon
Copy link
Member

@cconlon cconlon commented Aug 7, 2024

This PR adjusts WolfSSLInputStream.read() to return -1 when native wolfSSL_read() returns SOCKET_ERROR_E / -308. Returning -1 indicates end of stream to caller.

Potential fix for customer issue.

@cconlon cconlon self-assigned this Aug 7, 2024
@JacobBarthelmeh JacobBarthelmeh merged commit a9c28d7 into wolfSSL:master Sep 12, 2024
35 checks 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