]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: xfer_setup simplify
authorStefan Eissing <stefan@eissing.org>
Wed, 6 Aug 2025 09:56:08 +0000 (11:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 6 Aug 2025 12:12:46 +0000 (14:12 +0200)
commit6cebd35b4cda026d6f4ad682a51561be10b7e915
tree09805dde5a69f8fb23069862116a25543b39d593
parent034612cd515f249453a435f3d94b04f65744a54d
lib: xfer_setup simplify

Make variants for transfers that send/receive or do both with just the
parameters they need. Split out the shutdown setting into a separate
function. Only FTP bothers with that.

Closes #18203
15 files changed:
lib/curl_rtmp.c
lib/dict.c
lib/ftp.c
lib/gopher.c
lib/http.c
lib/imap.c
lib/openldap.c
lib/pop3.c
lib/rtsp.c
lib/smtp.c
lib/transfer.c
lib/transfer.h
lib/vssh/libssh.c
lib/vssh/libssh2.c
lib/vssh/wolfssh.c