-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QUIC Listener ConnectionOptionsCallback ALPN Narrowing Down Failure with Wrong Error Code #86701
Comments
Tagging subscribers to this area: @dotnet/ncl Issue DetailsThis is a tracking issue for Description: ApplicationProtocols = new List<SslApplicationProtocol>()
{
new SslApplicationProtocol("foo"),
new SslApplicationProtocol("bar"),
new SslApplicationProtocol("test"),
},
ConnectionOptionsCallback = (_, _, _) =>
{
// Narrowing down alpn list to more specific.
var options = CreateQuicServerOptions();
options.ServerAuthenticationOptions.ApplicationProtocols = new()
{
new SslApplicationProtocol("bar"),
new SslApplicationProtocol("test"),
};
return ValueTask.FromResult(options);
} In that case, if Quic can't find any matching ALPN between the client and server, the connection is failing with This is coming from
|
msquic v2.2.2 has been released, which includes these changes. https://github.com/microsoft/msquic/releases/tag/v2.2.2 We need to update our pipeline msquic package versions and I will enable the test on #86659 this PR. |
docker images are easy and Debian should be already done. RH Stream 8 will be triggered when dotnet/dotnet-buildtools-prereqs-docker#895 is merged. For actual Helix machines it may take several more weeks. AFAIK they are on auto-updated and updated on most Wednesdays. |
This is a tracking issue for
msquic
next release to activateListener_AlpnNarrowingDown_Failure
test inside ofQuicListenerTests
.Description:
While we're narrowing down ALPN negotiation list with
ConnectionOptionsCallback
, Quic is renegotiating ALPN with the Client.In that case, if Quic can't find any matching ALPN between the client and server, the connection is failing with
QUIC_STATUS_INTERNAL_ERROR
instead ofQUIC_STATUS_ALPN_NEG_FAILURE
.This is coming from
msquic
and has already been fixed in both themain
andrelease/2.2
branches. (microsoft/msquic#3647 and microsoft/msquic#3649)The text was updated successfully, but these errors were encountered: