]> git.ipfire.org Git - thirdparty/curl.git/commit
urldata: move the cookefilelist to the 'set' struct
authorDaniel Stenberg <daniel@haxx.se>
Thu, 22 Dec 2022 12:09:16 +0000 (13:09 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Dec 2022 15:06:37 +0000 (16:06 +0100)
commitaf5999a6742ea90011e7fa08aade7eac9943b76a
tree4786ccad2f06062af09de06fea93199ebbf9337f
parente4505a1915f1bfae71b06636f0690fae2c53c78e
urldata: move the cookefilelist to the 'set' struct

The cookiefile entries are set into the handle and should remain set for
the lifetime of the handle so that duplicating it also duplicates the
list. Therefore, the struct field is moved from 'state' to 'set'.

Fixes #10133
Closes #10134
lib/cookie.c
lib/easy.c
lib/setopt.c
lib/transfer.c
lib/url.c
lib/urldata.h
tests/data/test1905