Skip to content

crypto/tls: improve default performance of SupportsCertificate #35504

Open
@FiloSottile

Description

@FiloSottile

As discussed in https://golang.org/cl/205059, SupportsCertificate requires c.Leaf to be set not to be extremely slow (because it needs to re-parse the leaf every time). This also impacts automatic selection from multiple Certificates candidates.

There are multiple solutions suggested on the CL, I will pick one and turn this into a proposal for further discussion.

Metadata

Metadata

Assignees

Labels

NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Performance

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions