SslStream.IsMutuallyAuthenticated calls are expensive on Windows #95687
Labels
area-System.Net.Security
in-pr
There is an active PR which will close this issue when it is merged
os-windows
tenet-performance
Performance related issue
Milestone
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.
The text was updated successfully, but these errors were encountered: