Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi->proto_hash, key-value store for protocols #13345

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

icing
Copy link
Contributor

@icing icing commented Apr 11, 2024

  • add Curl_hash_add2() that passes a destructor function for the element added. Call element destructor instead of hash destructor if present.
  • multi: add proto_hash for protocol related information, remove struct multi_ssl_backend_data.
  • openssl: use multi->proto_hash to keep x509 shared store
  • schannel: use multi->proto_hash to keep x509 shared store
  • vtls: remove Curl_free_multi_ssl_backend_data() and its equivalents in the TLS backends

- add `Curl_hash_add2()` that passes a destructor function for
  the element added. Call element destructor instead of hash
  destructor if present.
- multi: add `proto_hash` for protocol related information,
  remove `struct multi_ssl_backend_data`.
- openssl: use multi->proto_hash to keep x509 shared store
- schannel: use multi->proto_hash to keep x509 shared store
- vtls: remove Curl_free_multi_ssl_backend_data() and its
  equivalents in the TLS backends
@github-actions github-actions bot added the tests label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

1 participant