Skip to content

SslStream.IsMutuallyAuthenticated calls are expensive on Windows #95687

Closed

Description

On Windows, client SslStream instances need to check if the client certificate was used via native API to SSPI. This call seems to be quite expensive if user calls the property getter often (e.g. for audit logging ber HTTP/2 request).

We should consider doing some internal caching since the value of the property should not change during the lifetime of the SslStream instance, with an exception of post-handshake client certificate negotiation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions