From 5c1e0179875427b68dad3827b70675c7fe82380f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 May 2026 14:15:28 +0200 Subject: [PATCH] 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 --- docs/libcurl/curl_easy_setopt.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/libcurl/curl_easy_setopt.md b/docs/libcurl/curl_easy_setopt.md index 13d966f3c3..aafa00f064 100644 --- a/docs/libcurl/curl_easy_setopt.md +++ b/docs/libcurl/curl_easy_setopt.md @@ -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