]> git.ipfire.org Git - thirdparty/curl.git/commit
tool: remove protocol count limitation
authorPatrick Monnerat <patrick@monnerat.net>
Wed, 21 Sep 2022 08:41:22 +0000 (10:41 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Sep 2022 11:49:10 +0000 (13:49 +0200)
commit677266c7692ec8dca4675815a572aaad7ad9e852
tree32076c5192905495b40860ea884bf97c11fc1a6a
parentfb11e45f9cd3fbd5f4c284c762f39b0cf75449bf
tool: remove protocol count limitation

Replace bit mask protocol sets by null-terminated arrays of protocol
tokens. These are the addresses of the protocol names returned by
curl_version_info().

Protocol names are sorted case-insensitively before output to satisfy CI
tests matches consistency.

The protocol list returned by curl_version_info() is augmented with all
RTMP protocol variants.

Test 1401 adjusted for new alpha ordered output.

Closes #9546
12 files changed:
lib/version.c
src/tool_cb_hdr.c
src/tool_getparam.c
src/tool_help.c
src/tool_libinfo.c
src/tool_libinfo.h
src/tool_operate.c
src/tool_paramhlp.c
src/tool_paramhlp.h
src/tool_util.c
src/tool_util.h
tests/data/test1401