tool_operate: share HSTS between handles

This commit is contained in:
Daniel Stenberg 2022-12-27 11:50:23 +01:00
parent 076a2f6291
commit 0bf8b796a0
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -2721,6 +2721,7 @@ CURLcode operate(struct GlobalConfig *global, int argc, argv_item_t argv[])
curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_SSL_SESSION);
curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_CONNECT);
curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_PSL);
curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_HSTS);
/* Get the required arguments for each operation */
do {