curl_easy_duphandle.3: clarify how HSTS and alt-svc are duped

Closes #12315
This commit is contained in:
Daniel Stenberg 2023-11-13 12:48:41 +01:00
parent 289b486ffa
commit 5b686e34fb
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -45,6 +45,9 @@ The new handle does \fBnot\fP inherit any state information, no connections,
no SSL sessions and no cookies. It also does not inherit any share object
states or options (created as if \fICURLOPT_SHARE(3)\fP was set to NULL).
If the source handle has HSTS or alt-svc enabled, the duplicate gets data read
data from the main file name to populate the cache.
In multi-threaded programs, this function must be called in a synchronous way,
the input handle may not be in use when cloned.
.SH EXAMPLE