Document UseHttps limitations for Http/3 in Kestrel (#23430)
* Document UseHttps limitations for Http/3 in Kestrel * Update aspnetcore/fundamentals/servers/kestrel/http3.md Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> * Update aspnetcore/fundamentals/servers/kestrel/http3.md Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>pull/23436/head
parent
729428d014
commit
5b7aaeae90
|
@ -74,3 +74,14 @@ For more information on building the host, see the **Set up a host** and **Defau
|
|||
* `HttpClient` can be used for localhost/loopback testing in .NET 6 or later. Extra configuration is required when using `HttpClient` to make an HTTP/3 request:
|
||||
* Set `HttpRequestMessage.Version` to 3.0, or
|
||||
* Set `HttpRequestMessage.VersionPolicy` to `HttpVersionPolicy.RequestVersionOrHigher`.
|
||||
|
||||
## Limitations
|
||||
|
||||
Some HTTPS scenarios are not yet supported for HTTP/3 in Kestrel. When calling `Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps` with <xref:Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> while using HTTP/3, setting the following options on the <xref:Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> is a no-op (it does nothing):
|
||||
* <xref:Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions.HandshakeTimeout>
|
||||
* <xref:Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions.OnAuthenticate>
|
||||
|
||||
Calling the following implementations of `Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps` throw an error when using HTTP/3:
|
||||
|
||||
`UseHttps(this ListenOptions listenOptions, ServerOptionsSelectionCallback serverOptionsSelectionCallback, object state, TimeSpan handshakeTimeout)`
|
||||
`UseHttps(this ListenOptions listenOptions, TlsHandshakeCallbackOptions callbackOptions)`
|
||||
|
|
Loading…
Reference in New Issue