From 3856e1044567d3f993cd3f0737f34866e1d229cf Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 3 Dec 2024 17:15:06 +0100 Subject: [PATCH] KNOWN_BUGS: setting a disabled option should return CURLE_NOT_BUILT_IN Reported-by: Jeroen Ooms Closes #15472 Closes #15675 --- docs/KNOWN_BUGS | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/KNOWN_BUGS b/docs/KNOWN_BUGS index 5a1e5eeaad..606fa66f07 100644 --- a/docs/KNOWN_BUGS +++ b/docs/KNOWN_BUGS @@ -78,6 +78,7 @@ problems may have been fixed or changed somewhat since this was written. 11.6 test cases sometimes timeout 11.7 CURLOPT_CONNECT_TO does not work for HTTPS proxy 11.8 WinIDN test failures + 11.9 setting a disabled option should return CURLE_NOT_BUILT_IN 12. LDAP 12.1 OpenLDAP hangs after returning results @@ -495,6 +496,15 @@ problems may have been fixed or changed somewhat since this was written. Test 165 disabled when built with WinIDN. +11.9 setting a disabled option should return CURLE_NOT_BUILT_IN + + When curl has been built with specific features or protocols disabled, + setting such options with curl_easy_setopt() should rather return + CURLE_NOT_BUILT_IN instead of CURLE_UNKNOWN_OPTION to signal the difference + to the application + + See https://github.com/curl/curl/issues/15472 + 12. LDAP 12.1 OpenLDAP hangs after returning results -- 2.47.3