[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>
Sat, 19 Jul 2025 19:04:59 +0000 (21:04 +0200)
commit7586cb90acabc653ba163f11e848962c2c901ea1
treedbe56bcaf4710062e36bf97dd1318534448e3046
parent17357737d84caf2e02b6f805ec050fb6ec68c240
[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