curl_easy_setopt.md: change options when no transfer runs

Underscore this. Changing them mid-transfer may cause problems.

Fixes #21604
Reported-by: Joshua Rogers
Closes #21657
This commit is contained in:
Daniel Stenberg 2026-05-18 14:15:28 +02:00
parent 8a86fa13f3
commit 5c1e017987
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -50,6 +50,9 @@ any way reset between transfers, so if you want subsequent transfers with
different options, you must change them between the transfers. You can
optionally reset all options back to internal default with curl_easy_reset(3).
Changing options with curl_easy_setopt(3) while a transfer is still in
progress may cause undefined and undesired behavior.
The order in which the options are set does not matter.
# STRINGS