-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba66ddb
commit 90b4e11
Showing
8 changed files
with
540 additions
and
436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...aries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.NoQuic.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
using System.Threading; | ||
using System.Threading.Tasks; | ||
|
||
namespace System.Net.Http | ||
{ | ||
internal sealed partial class HttpConnectionPool | ||
{ | ||
private static bool IsHttp3Enabled => false; | ||
|
||
private ValueTask<(HttpConnectionBase? connection, bool isNewConnection, HttpResponseMessage? failureResponse)>? | ||
GetHttp3ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) => null; | ||
|
||
private bool IsAltSvcBlocked(HttpAuthority authority) => false; | ||
|
||
private bool ProcessAltSvc(HttpResponseMessage response, HttpConnectionBase? connection) => false; | ||
|
||
public void OnNetworkChanged() | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.