From: Daniel Stenberg Date: Thu, 9 Mar 2023 17:01:34 +0000 (+0100) Subject: CURLSHOPT_SHARE.3: HSTS sharing is not thread-safe X-Git-Tag: curl-8_0_0~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dca4cdf071be095bcdc7126eaa77a8946ea4790b;p=thirdparty%2Fcurl.git CURLSHOPT_SHARE.3: HSTS sharing is not thread-safe Reported-by: Hiroki Kurosawa Closes #10732 --- diff --git a/docs/libcurl/opts/CURLSHOPT_SHARE.3 b/docs/libcurl/opts/CURLSHOPT_SHARE.3 index 71320410c7..84f5f96593 100644 --- a/docs/libcurl/opts/CURLSHOPT_SHARE.3 +++ b/docs/libcurl/opts/CURLSHOPT_SHARE.3 @@ -56,8 +56,7 @@ implemented until 7.23.0. Put the connection cache in the share object and make all easy handles using this share object share the connection cache. -Note that due to a known bug, it is not safe to share connections this way -between multiple concurrent threads. +It is not supported to share connections between multiple concurrent threads. Connections that are used for HTTP/1.1 Pipelining or HTTP/2 multiplexing only get additional transfers added to them if the existing connection is held by @@ -81,6 +80,8 @@ multi handle will share PSL cache by default without using this option. .IP CURL_LOCK_DATA_HSTS The in-memory HSTS cache. +It is not supported to share the HSTS between multiple concurrent threads. + Added in 7.88.0 .SH PROTOCOLS All