From: Daniel Stenberg Date: Tue, 3 Dec 2024 16:15:06 +0000 (+0100) Subject: KNOWN_BUGS: setting a disabled option should return CURLE_NOT_BUILT_IN X-Git-Tag: curl-8_11_1~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3856e1044567d3f993cd3f0737f34866e1d229cf;p=thirdparty%2Fcurl.git KNOWN_BUGS: setting a disabled option should return CURLE_NOT_BUILT_IN Reported-by: Jeroen Ooms Closes #15472 Closes #15675 --- 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