]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_operate: fix headerfile writing
authorStefan Eissing <stefan@eissing.org>
Wed, 4 Jan 2023 13:37:52 +0000 (14:37 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 4 Jan 2023 22:11:54 +0000 (23:11 +0100)
commit24e4e57cf33d00e4ca8654a795ef7916d6e6ea04
treee19095a463ae5dc5d49ff647f43ee6dda7232f29
parent1485e8921398f434c38528127c8ba0584324e10d
tool_operate: fix headerfile writing

Do not rely on the first transfer started to be the first to get a
response (remember -Z). All transfers now write the headefile (-D) in
append mode, making sure that the order of transfer responses does not
lead to overwrites of previous data.

Closes #10224
src/tool_operate.c