]> git.ipfire.org Git - thirdparty/curl.git/commit - src/tool_cfgable.c
cookies: Support multiple -b parameters
authorDaniel Gustafsson <daniel@yesql.se>
Thu, 25 Feb 2021 17:12:28 +0000 (18:12 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Thu, 25 Feb 2021 17:12:28 +0000 (18:12 +0100)
commit82c583dcf009f038a9ceccc695f942f24015f9ab
tree8bf04adb2ee16faa8406b5b3cabd516f6b223dc5
parent1b2098c3c9580c431cc9c4b110249abfd94792ed
cookies: Support multiple -b parameters

Previously only a single -b cookie parameter was supported with the last
one winning.  This adds support for supplying multiple -b params to have
them serialized semicolon separated.  Both cookiefiles and cookies can be
entered multiple times.

Closes #6649
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
docs/cmdline-opts/cookie.d
src/tool_cfgable.c
src/tool_cfgable.h
src/tool_getparam.c
src/tool_operate.c
tests/data/test329
tests/data/test6