[PATCH] lib: unify the upload/method handling
authorDaniel Stenberg <daniel@haxx.se>
Tue, 25 Apr 2023 06:28:01 +0000 (08:28 +0200)
committerCarlos Henrique Lima Melara <charlesmelara@riseup.net>
Sun, 23 Jul 2023 21:43:52 +0000 (22:43 +0100)
commit10f2768a8d026705795f48690218d64c99807770
tree0326bac419cfbbc827d971b71d45a7b7d4d484a1
parent5d224088fc697bb2d43401d8b3faff706485e064
[PATCH] lib: unify the upload/method handling

By making sure we set state.upload based on the set.method value and not
independently as set.upload, we reduce confusion and mixup risks, both
internally and externally.

Closes #11017

Gbp-Pq: Name CVE-2023-28322.patch
15 files changed:
lib/curl_rtmp.c
lib/file.c
lib/ftp.c
lib/http.c
lib/imap.c
lib/rtsp.c
lib/setopt.c
lib/smb.c
lib/smtp.c
lib/tftp.c
lib/transfer.c
lib/urldata.h
lib/vssh/libssh.c
lib/vssh/libssh2.c
lib/vssh/wolfssh.c