openssl: reduce CA certificate bundle reparsing by caching

Closes #9620
This commit is contained in:
Michael Drake 2022-09-28 15:51:44 +01:00 committed by Daniel Stenberg
parent f151ec6c10
commit 3c16697ebd
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
15 changed files with 464 additions and 271 deletions

View file

@ -2770,6 +2770,11 @@ CURLMcode curl_multi_cleanup(struct Curl_multi *multi)
wakeup_close(multi->wakeup_pair[1]);
#endif
#endif
#ifdef USE_SSL
Curl_free_multi_ssl_backend_data(multi->ssl_backend_data);
#endif
free(multi);
return CURLM_OK;