[PATCH] lib: unify the upload/method handling
authorDaniel Stenberg <daniel@haxx.se>
Tue, 25 Apr 2023 06:28:01 +0000 (08:28 +0200)
committerSamuel Henrique <samueloph@debian.org>
Sun, 10 Dec 2023 06:07:30 +0000 (06:07 +0000)
commit890f80bbbf6f1dd9743435e5eaf5f2c4f86f057e
treed4cf0efc5e201df587acec2d16dbf66e38a0d017
parent93b83e61f0bf8f981f4305edc718d9e54fe28db3
[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