Skip to content

fix(NetSSL_Win): Error during handshake: failed to read data#4275

Merged
aleks-f merged 1 commit intopocoproject:develfrom
tavi-cacina:winssl_startls_incomplete_credentials
Nov 23, 2023
Merged

fix(NetSSL_Win): Error during handshake: failed to read data#4275
aleks-f merged 1 commit intopocoproject:develfrom
tavi-cacina:winssl_startls_incomplete_credentials

Conversation

@tavi-cacina
Copy link
Copy Markdown
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
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