Skip to content
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

HTTP/3: Complete support for UseHttps #42774

Merged
merged 4 commits into from
Jul 28, 2022
Merged

HTTP/3: Complete support for UseHttps #42774

merged 4 commits into from
Jul 28, 2022

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Jul 18, 2022

Fixes #42831
Fixes #34858

Question:

(can't use these TlsHandshakeCallbackOptions or TlsHandshakeCallbackContext because they're in Kestrel and Quic transport doesn't have a dependency)

@@ -65,6 +79,20 @@ public QuicConnectionListener(QuicTransportOptions options, ILogger log, EndPoin
EndPoint = listenEndPoint;
}

private void ValidateServerAuthenticationOptions(SslServerAuthenticationOptions serverAuthenticationOptions)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we throw here to make this more discoverable on the server?

Copy link
Member Author

@JamesNK JamesNK Jul 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is in the QuicListenerOptions.ConnectionOptionsCallback. Errors will get eaten. That's why I made these log.

@JamesNK JamesNK requested a review from a team as a code owner July 20, 2022 04:21
@JamesNK JamesNK force-pushed the jamesnk/http3-usehttps branch 2 times, most recently from eb87cdf to 355dd72 Compare July 21, 2022 05:37
@@ -2,11 +2,17 @@
"solution": {
"path": "..\\..\\..\\AspNetCore.sln",
"projects": [
"src\\DataProtection\\Abstractions\\src\\Microsoft.AspNetCore.DataProtection.Abstractions.csproj",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these changes required/intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're required to build the Kestrel solution. The recently added web transport sample project uses WebApplication and references the Microsoft.AspNetCore project. It requires these dependencies.

@JamesNK JamesNK merged commit 6376e7e into main Jul 28, 2022
@JamesNK JamesNK deleted the jamesnk/http3-usehttps branch July 28, 2022 03:20
@ghost ghost added this to the 7.0-rc1 milestone Jul 28, 2022
@adityamandaleeka adityamandaleeka added the blog-candidate Consider mentioning this in the release blog post label Jul 29, 2022
@ghost
Copy link

ghost commented Jul 29, 2022

@JamesNK, this change will be considered for inclusion in the blog post for the release it'll ship in. Nice work!

Please ensure that the original comment in this thread contains a clear explanation of what the change does, why it's important (what problem does it solve?), and, if relevant, include things like code samples and/or performance numbers.

This content may not be exactly what goes into the blog post, but it will help the team putting together the announcement.

Thanks!

@adityamandaleeka
Copy link
Member

@JamesNK I put the blog-candidate label on this PR, but we can probably do a section including this and the other HTTP/3 changes going into RC 1.

@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions blog-candidate Consider mentioning this in the release blog post
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add TlsConnectionOptions to connection abstractions HTTP/3: UseHttps configuration
7 participants