[PATCH] lib: unify the upload/method handling
authorDaniel Stenberg <daniel@haxx.se>
Tue, 25 Apr 2023 06:28:01 +0000 (08:28 +0200)
committerGuilherme Puida Moreira <guilherme@puida.xyz>
Tue, 2 Apr 2024 23:02:10 +0000 (20:02 -0300)
commit6cda9319f034e9f1b206ff3f3de3c5abcfca1bfb
tree80bb1388f189dc375772806779df76aa97dea11e
parentc15fa414c9ff01f16bfa9c7048025da9224f9d14
[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