]> git.ipfire.org Git - thirdparty/curl.git/commit
setopt: add CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS_STR
authorDaniel Stenberg <daniel@haxx.se>
Mon, 13 Jun 2022 07:30:45 +0000 (09:30 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 4 Jul 2022 06:35:09 +0000 (08:35 +0200)
commite6f8445edef8e7996d1cfb141d6df184efef972c
tree3b90f03794b92c243a3a09cebfa270d5502258e8
parent193215db3ca956b1e5c99539bc20cf892870d11f
setopt: add CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS_STR

... as replacements for deprecated CURLOPT_PROTOCOLS and
CURLOPT_REDIR_PROTOCOLS as these new ones do not risk running into the
32 bit limit the old ones are facing.

CURLINFO_PROTCOOL is now deprecated.

The curl tool is updated to use the new options.

Added test 1597 to verify the libcurl protocol parser.

Closes #8992
24 files changed:
docs/libcurl/curl_easy_setopt.3
docs/libcurl/opts/CURLINFO_PROTOCOL.3
docs/libcurl/opts/CURLOPT_PROTOCOLS.3
docs/libcurl/opts/CURLOPT_PROTOCOLS_STR.3 [new file with mode: 0644]
docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.3
docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS_STR.3 [new file with mode: 0644]
docs/libcurl/opts/Makefile.inc
docs/libcurl/symbols-in-versions
include/curl/curl.h
include/curl/typecheck-gcc.h
lib/easyoptions.c
lib/setopt.c
lib/urldata.h
src/tool_cfgable.c
src/tool_cfgable.h
src/tool_getparam.c
src/tool_operate.c
src/tool_paramhlp.c
src/tool_paramhlp.h
tests/data/Makefile.inc
tests/data/test1401
tests/data/test1597 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1597.c [new file with mode: 0644]