feat(HTTP.SYS): on-demand TLS client hello retrieval#62209
Merged
DeagleGross merged 8 commits intodotnet:mainfrom Jun 7, 2025
DeagleGross:dmkorolev/httpsys-ondemand-tlsclienthello
Merged
feat(HTTP.SYS): on-demand TLS client hello retrieval#62209DeagleGross merged 8 commits intodotnet:mainfrom DeagleGross:dmkorolev/httpsys-ondemand-tlsclienthello
DeagleGross merged 8 commits intodotnet:mainfrom
DeagleGross:dmkorolev/httpsys-ondemand-tlsclienthello
Conversation
halter73
approved these changes
Jun 2, 2025
src/Servers/HttpSys/samples/TlsFeaturesObserve/TlsFeaturesObserve.csproj
Show resolved
Hide resolved
src/Servers/HttpSys/src/RequestProcessing/RequestContext.FeatureCollection.cs
Show resolved
Hide resolved
BrennanConroy
approved these changes
Jun 6, 2025
Member
Author
|
/backport to release/8.0 |
Contributor
|
Started backporting to release/8.0: https://github.com/dotnet/aspnetcore/actions/runs/15546470366 |
Contributor
|
@DeagleGross backporting to "release/8.0" failed, the patch most likely resulted in conflicts: $ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: drop callback / implement on-demand tls client hello access
Using index info to reconstruct a base tree...
M src/Servers/HttpSys/samples/TlsFeaturesObserve/Program.cs
M src/Servers/HttpSys/src/HttpSysListener.cs
M src/Servers/HttpSys/src/HttpSysOptions.cs
M src/Servers/HttpSys/src/PublicAPI.Unshipped.txt
M src/Servers/HttpSys/src/RequestProcessing/Request.cs
M src/Servers/HttpSys/src/RequestProcessing/RequestContext.FeatureCollection.cs
M src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs
M src/Servers/HttpSys/src/RequestProcessing/TlsListener.cs
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): src/Servers/HttpSys/src/RequestProcessing/TlsListener.cs deleted in drop callback / implement on-demand tls client hello access and modified in HEAD. Version HEAD of src/Servers/HttpSys/src/RequestProcessing/TlsListener.cs left in tree.
Removing src/Servers/HttpSys/src/RequestProcessing/TlsListener.Log.cs
Auto-merging src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs
CONFLICT (content): Merge conflict in src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs
Auto-merging src/Servers/HttpSys/src/RequestProcessing/RequestContext.FeatureCollection.cs
Auto-merging src/Servers/HttpSys/src/RequestProcessing/Request.cs
CONFLICT (content): Merge conflict in src/Servers/HttpSys/src/RequestProcessing/Request.cs
Auto-merging src/Servers/HttpSys/src/PublicAPI.Unshipped.txt
CONFLICT (content): Merge conflict in src/Servers/HttpSys/src/PublicAPI.Unshipped.txt
Auto-merging src/Servers/HttpSys/src/HttpSysOptions.cs
CONFLICT (content): Merge conflict in src/Servers/HttpSys/src/HttpSysOptions.cs
Auto-merging src/Servers/HttpSys/src/HttpSysListener.cs
CONFLICT (content): Merge conflict in src/Servers/HttpSys/src/HttpSysListener.cs
Removing src/Servers/HttpSys/samples/TlsFeaturesObserve/Startup.cs
Auto-merging src/Servers/HttpSys/samples/TlsFeaturesObserve/Program.cs
CONFLICT (content): Merge conflict in src/Servers/HttpSys/samples/TlsFeaturesObserve/Program.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 drop callback / implement on-demand tls client hello access
Error: The process '/usr/bin/git' failed with exit code 128Please backport manually! |
10 tasks
joperezr
pushed a commit
that referenced
this pull request
Jun 11, 2025
* feat(HTTP.SYS): on-demand TLS client hello retrieval (#62209) * fix cherry-pick * setup sample * provide example * fix build error
Contributor
|
@@DeagleGross, 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! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
HTTP.SYS only on-demand TLS client hello
As discussed in api proposal we are doing 2 things here:
HttpSysOptions.TlsClientHelloBytesCallbackIHttpSysRequestPropertiesFeature:IHttpSysRequestPropertiesFeature.TryGetTlsClientHello.TlsFeaturesObserve.Programsample shows the usage of that feature and this API in particular:Implements #61625