Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fetch TLS client hello message from HTTP.SYS#61494

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
wtgodbe merged 24 commits intorelease/8.0frombrecon/bptls
Apr 15, 2025
Merged

Conversation

@BrennanConroy
Copy link
Member

@BrennanConroyBrennanConroy commentedApr 14, 2025
edited
Loading

Backport of#60806

fetch TLS client hello message from HTTP.SYS

Description

Exposes a callback that we'll call with thebyte[] representation of the TLS Client Hello when a connection connects to the server.

Fixes#60805

Customer Impact

Allows customers to inspect the TLS Client Hello message for a connection.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Fully opt-in feature so won't affect existing code. Also, if it is turned on, there are a few app context knobs to tweak behavior in case something goes wrong.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

@ghostghost added the area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions labelApr 14, 2025
@dotnet-policy-servicedotnet-policy-servicebot added this to the8.0.x milestoneApr 14, 2025
internalvoidInvokeTlsClientHelloCallback(ulongconnectionId,IFeatureCollectionfeatures,
Func<IFeatureCollection,TlsClientHelloCallback,bool>invokeTlsClientHelloCallback)
{
if(!_connectionTimestamps.TryAdd(connectionId,_timeProvider.GetUtcNow()))

Choose a reason for hiding this comment

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

Could this be AddOrUpdate?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

No, because it doesn't tell you if you are the thread that created the entry or not in order for us to decide whether to call the callback or not.

adityamandaleeka reacted with thumbs up emoji
Co-authored-by: Aditya Mandaleeka <adityamandaleeka@users.noreply.github.com>
@BrennanConroyBrennanConroy marked this pull request as ready for reviewApril 15, 2025 02:46
This was referencedNov 13, 2025
This was referencedNov 21, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@adityamandaleekaadityamandaleekaadityamandaleeka approved these changes

@halter73halter73Awaiting requested review from halter73halter73 is a code owner

@JamesNKJamesNKAwaiting requested review from JamesNKJamesNK is a code owner

@mgravellmgravellAwaiting requested review from mgravell

Assignees

No one assigned

Labels

area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Milestone

8.0.16

Development

Successfully merging this pull request may close these issues.

5 participants

@BrennanConroy@adityamandaleeka@wtgodbe@DeagleGross

[8]ページ先頭

©2009-2025 Movatter.jp