summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-12-27 11:50:23 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-12-27 15:22:01 +0100
commit0bf8b796a0ea98395b390c7807187982215f5c11 (patch)
treea41cec09e2514ee49d3b5bb4c5dc199c6a12137f /src
parent076a2f629119222aeeb50f5a03bf9f9052fabb9a (diff)
downloadcurl-0bf8b796a0ea98395b390c7807187982215f5c11.tar.gz
tool_operate: share HSTS between handles
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 616061ee4..2b0cc083c 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -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 {