@@ -54,7 +54,7 @@ public async Task OnConnectionAsync(CHttp2ConnectionContext context)
5454 }
5555
5656 var sslDuplexPipe = CreateSslDuplexPipe (
57- context . Transport ,
57+ context . Transport ! ,
5858 context . Features . Get < IMemoryPoolFeature > ( ) ? . MemoryPool ?? MemoryPool < byte > . Shared ) ;
5959 var sslStream = sslDuplexPipe . Stream ;
6060
@@ -252,17 +252,23 @@ public X509Certificate2? ClientCertificate
252252 // Required for TLS Handshake feature
253253
254254 public TlsCipherSuite ? NegotiatedCipherSuite => _sslStream . NegotiatedCipherSuite ;
255-
255+
256+ [ Obsolete ( "Obsolete by BCL, use NegotiatedCipherSuite instead." ) ]
256257 public CipherAlgorithmType CipherAlgorithm => _sslStream . CipherAlgorithm ;
257258
259+ [ Obsolete ( "Obsolete by BCL, use NegotiatedCipherSuite instead." ) ]
258260 public int CipherStrength => _sslStream . CipherStrength ;
259261
262+ [ Obsolete ( "Obsolete by BCL, use NegotiatedCipherSuite instead." ) ]
260263 public HashAlgorithmType HashAlgorithm => _sslStream . HashAlgorithm ;
261264
265+ [ Obsolete ( "Obsolete by BCL, use NegotiatedCipherSuite instead." ) ]
262266 public int HashStrength => _sslStream . HashStrength ;
263267
268+ [ Obsolete ( "Obsolete by BCL, use NegotiatedCipherSuite instead." ) ]
264269 public ExchangeAlgorithmType KeyExchangeAlgorithm => _sslStream . KeyExchangeAlgorithm ;
265270
271+ [ Obsolete ( "Obsolete by BCL, use NegotiatedCipherSuite instead." ) ]
266272 public int KeyExchangeStrength => _sslStream . KeyExchangeStrength ;
267273
268274 public Task < X509Certificate2 ? > GetClientCertificateAsync ( CancellationToken cancellationToken )
0 commit comments