curl/include/curl
Daniel Stenberg 3b057d4b7a
test1521: verify setting options to NULL better
Previously this test allowed several error values when setting options.
This made this test miss #14629.

Now, errors are generally not accepted for setopts:

 - numerical setopts accept CURLE_BAD_FUNCTION_ARGUMENT for funny input
 - the first setopt to an option accepts CURLE_NOT_BUILT_IN or
   CURLE_UNKNOWN_OPTION for when they are disabled/not built-in
 - there is an allowlist concept for some return code for some variables,
   managed at the top of the mk-lib1521.pl script

In curl.h: remove the OBSOLETE named values from the setopt list.

Closes #14634
2024-08-23 08:24:34 +02:00
..
.gitignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl.h test1521: verify setting options to NULL better 2024-08-23 08:24:34 +02:00
curlver.h RELEASE-NOTES: synced 2024-07-31 10:48:48 +02:00
easy.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
header.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
Makefile.am build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
mprintf.h build: add more supported attributes to the IAR compiler 2024-05-24 23:45:45 +02:00
multi.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
options.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
stdcheaders.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
system.h tidy-up: spelling 'built-in' 2024-08-20 21:32:40 +02:00
typecheck-gcc.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
urlapi.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
websockets.h websocket: rename arguments/variables to match docs 2023-07-22 00:31:31 +02:00