Skip to content

Conversation

@maksimkim
Copy link
Contributor

Problem: When server certificate validation fails, client SslStream tries to write Encryption Alert TLS message to the underlying stream. It fails with NRE trying to use uninitialized TlsHandler._lastContextWritePromise.

Solution: use void promise when _lastContextWritePromise is empty

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.

1 participant