Skip to content

Conversation

@0x676e67
Copy link
Contributor

Some scenarios require repeatedly creating TLS connectors. We aim to reuse X509Store instead of recreating it each time. Implementing Clone could be a good solution.

@0x676e67 0x676e67 changed the title fix(x509): Implement Clone for X509Store feat(x509): Implement Clone for X509Store Mar 22, 2025
@kornelski kornelski merged commit 49a8d09 into cloudflare:master Apr 7, 2025
23 checks passed
@nox
Copy link
Collaborator

nox commented May 27, 2025

We can't do that actually, see #120.

nox added a commit that referenced this pull request May 27, 2025
@nox
Copy link
Collaborator

nox commented May 27, 2025

Reverting this in #353.

nox added a commit that referenced this pull request May 27, 2025
* Revert "feat(x509): Implement `Clone` for `X509Store` (#339)"

This reverts commit 49a8d09.

See <#120>.

* Ensure Clone is not added to X509Store

* Add comment about why X509Store must not implement Clone

---------

Co-authored-by: Kornel <kornel@cloudflare.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants