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(NetSSL_Win): Error during handshake: failed to read data #4275

Merged

Conversation

tavi-cacina
Copy link
Contributor

On some machines the InitializeSecurityContext() will return SEC_I_INCOMPLETE_CREDENTIALS during TLS handshake. That case is not handled, it will try to continue reading, thus blocking until timeout. The handling of this case would be to repeat the InitializeSecurityContext once again, or as we do here, inform to use a client cert if available.

See also:
steffengy/schannel-rs#32
https://stackoverflow.com/a/47479968

Closes #3944

@aleks-f aleks-f added this to the Release 1.13.0 milestone Nov 23, 2023
@aleks-f aleks-f merged commit b34801f into pocoproject:devel Nov 23, 2023
18 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.

NetSSL_Win: Error during handshake: failed to read data
2 participants