CURLOPT_SHARE: warn about early remove

Add a warning to removing a SHARE from an EASY handle before it is
finished.

Closes #21633
This commit is contained in:
Stefan Eissing 2026-05-15 14:56:24 +02:00 committed by Daniel Stenberg
parent a15cfeb100
commit aafbe089a8
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -43,6 +43,9 @@ if no share was used.
Set this option to NULL again to stop using that share object.
Warning: adding a *share* and then setting it to NULL while the transfer
is ongoing is discouraged and may lead to undefined behavior.
# DEFAULT
NULL