@@ -450,7 +450,7 @@ private async Task AddHttp11ConnectionAsync(HttpRequestMessage request)
450
450
{
451
451
try
452
452
{
453
- connection = await CreateHttp11ConnectionAsync ( request , false , cts . Token ) . ConfigureAwait ( false ) ;
453
+ connection = await CreateHttp11ConnectionAsync ( request , true , cts . Token ) . ConfigureAwait ( false ) ;
454
454
}
455
455
catch ( OperationCanceledException oce ) when ( oce . CancellationToken == cts . Token )
456
456
{
@@ -596,7 +596,7 @@ private async Task HandleHttp11Downgrade(HttpRequestMessage request, Socket? soc
596
596
try
597
597
{
598
598
// Note, the same CancellationToken from the original HTTP2 connection establishment still applies here.
599
- http11Connection = await ConstructHttp11ConnectionAsync ( false , socket , stream , transportContext , request , cancellationToken ) . ConfigureAwait ( false ) ;
599
+ http11Connection = await ConstructHttp11ConnectionAsync ( true , socket , stream , transportContext , request , cancellationToken ) . ConfigureAwait ( false ) ;
600
600
}
601
601
catch ( OperationCanceledException oce ) when ( oce . CancellationToken == cancellationToken )
602
602
{
@@ -621,7 +621,7 @@ private async Task AddHttp2ConnectionAsync(HttpRequestMessage request)
621
621
{
622
622
try
623
623
{
624
- ( Socket ? socket , Stream stream , TransportContext ? transportContext ) = await ConnectAsync ( request , false , cts . Token ) . ConfigureAwait ( false ) ;
624
+ ( Socket ? socket , Stream stream , TransportContext ? transportContext ) = await ConnectAsync ( request , true , cts . Token ) . ConfigureAwait ( false ) ;
625
625
626
626
if ( IsSecure )
627
627
{
0 commit comments