mirror of
https://github.com/curl/curl.git
synced 2026-08-26 12:53:35 +03:00
CURLSHOPT_SHARE.3: HSTS sharing is not thread-safe
Reported-by: Hiroki Kurosawa Closes #10732
This commit is contained in:
parent
538b1e79a6
commit
dca4cdf071
1 changed files with 3 additions and 2 deletions
|
|
@ -56,8 +56,7 @@ implemented until 7.23.0.
|
||||||
Put the connection cache in the share object and make all easy handles using
|
Put the connection cache in the share object and make all easy handles using
|
||||||
this share object share the connection cache.
|
this share object share the connection cache.
|
||||||
|
|
||||||
Note that due to a known bug, it is not safe to share connections this way
|
It is not supported to share connections between multiple concurrent threads.
|
||||||
between multiple concurrent threads.
|
|
||||||
|
|
||||||
Connections that are used for HTTP/1.1 Pipelining or HTTP/2 multiplexing only
|
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
|
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
|
.IP CURL_LOCK_DATA_HSTS
|
||||||
The in-memory HSTS cache.
|
The in-memory HSTS cache.
|
||||||
|
|
||||||
|
It is not supported to share the HSTS between multiple concurrent threads.
|
||||||
|
|
||||||
Added in 7.88.0
|
Added in 7.88.0
|
||||||
.SH PROTOCOLS
|
.SH PROTOCOLS
|
||||||
All
|
All
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue