SpanNetty
SpanNetty copied to clipboard
Fix encryption alert write during TLS handshake
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