-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Adding WebTransport Handshake to Kestrel #41877
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
Merged
Daniel-Genkin-MS-2
merged 37 commits into
dotnet:main
from
Daniel-Genkin-MS-2:t-dagenkin/WebTransport
Jun 3, 2022
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
138fdea
Fixed issues with connecting via webtransport. Now error is method no…
Daniel-Genkin-MS-2 e6d9afd
Fixed the handshake/method not supported issue
Daniel-Genkin-MS-2 751856c
Handshake completes successfully
Daniel-Genkin-MS-2 a6a0fec
Merge branch 'main' of https://github.com/dotnet/aspnetcore into t-da…
Daniel-Genkin-MS-2 39457bd
minor clean up
Daniel-Genkin-MS-2 e06d048
Added WebTransport settings to KestrelServerOptions
Daniel-Genkin-MS-2 70e1a24
Added validation for WebTransport headers and settings
Daniel-Genkin-MS-2 1313d01
WIP adding the unit tests for the handshake + various misc fixes that…
Daniel-Genkin-MS-2 123b849
First unit test works!
Daniel-Genkin-MS-2 bb3f1c5
Added some tests to avoid bad connections. More are needed though
Daniel-Genkin-MS-2 ff0bb08
Fixed some unit tests and added origin validation
Daniel-Genkin-MS-2 a810ed0
Cleanup
Daniel-Genkin-MS-2 f52b7d9
Finished the unit tests
Daniel-Genkin-MS-2 e50cfda
Added protocol to public APIs
Daniel-Genkin-MS-2 ff34498
Slight cleanup
Daniel-Genkin-MS-2 a2f5353
Removed KestrelServerOptions as per Stephen's and Chris' suggestion
Daniel-Genkin-MS-2 48d10fe
Removed option to use H3_Datagrams without webtransport
Daniel-Genkin-MS-2 1923923
Update src/Servers/Kestrel/samples/Http3SampleApp/Program.cs
Daniel-Genkin-MS-2 cecea59
Addressed a bunch of PR comments?
Daniel-Genkin-MS-2 1e8b99c
Unhardcoded strings
Daniel-Genkin-MS-2 cc0e138
removed nonexistant server options from public API
Daniel-Genkin-MS-2 818bea2
Cleanup related to PR comments
Daniel-Genkin-MS-2 f135236
Gave in to only passing 1 parameter into the string
Daniel-Genkin-MS-2 9bab83c
logic fix
Daniel-Genkin-MS-2 32dcf73
I am blind
Daniel-Genkin-MS-2 bfc1b57
Fixed CI test failures
Daniel-Genkin-MS-2 75e910e
Fixed typo in string values
Daniel-Genkin-MS-2 40c1697
Removed @
Daniel-Genkin-MS-2 bb79a1f
Merge branch 't-dagenkin/WebTransport' of https://github.com/Daniel-G…
Daniel-Genkin-MS-2 f51ca4a
Move Webtransport related parts into a new port and undid changed to …
Daniel-Genkin-MS-2 3788865
Addressed some more PR comments
Daniel-Genkin-MS-2 6acfbe4
WIP
Daniel-Genkin-MS-2 83d5797
Switched to using AppContext switches?
Daniel-Genkin-MS-2 ba7d5f5
Reverted to using HTTP instead of HTTPS as per Stephen's PR comment
Daniel-Genkin-MS-2 dcbc177
Set AppContextSwitch in the sample app to enable webtransport on the …
Daniel-Genkin-MS-2 07423c8
Moved the AppContext switch setting to the csproj
Daniel-Genkin-MS-2 146abdc
Attempt to fix the failed CI test
Daniel-Genkin-MS-2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
#nullable enable | ||
static readonly Microsoft.Net.Http.Headers.HeaderNames.Protocol -> string! |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you submit an API proposal for this? I know there are going to be a bunch more APIs, but it might be good to learn the process by quickly filling out the issue template.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I already did as part of my h2 WebSockets PR. This field is duplicated in both.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an API proposal for that yet? The PR doesn't count! I figured approving this one API would be easier than approving the full extended connect server feature we were discussing.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Tratcher have you already filed one for:protocol
as part of your websockets PR?Edit: nevermind, should have refreshed the page sooner.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API proposal: #42002