]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: xfer_setup and non-blocking shutdown
authorStefan Eissing <stefan@eissing.org>
Mon, 10 Jun 2024 11:32:13 +0000 (13:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 11 Jun 2024 11:41:03 +0000 (13:41 +0200)
commit385c62aabc388e62162c634e97ee61d1ab8bf81c
tree3ff68b1e936e53cdbf1c2e68c4c3b85d7dc43e72
parent61b465208f936bdd9b713bd51b108a794bd843d6
lib: xfer_setup and non-blocking shutdown

- clarify Curl_xfer_setup() with RECV/SEND flags and different calls for
  which socket they operate on. Add a shutdown flag for secondary
  sockets
- change Curl_xfer_setup() calls to new functions
- implement non-blocking connection shutdown at the end of receiving or
  sending a transfer

Closes #13913
30 files changed:
lib/c-hyper.c
lib/cf-socket.c
lib/cfilters.c
lib/cfilters.h
lib/connect.c
lib/connect.h
lib/curl_rtmp.c
lib/dict.c
lib/ftp.c
lib/gopher.c
lib/http.c
lib/imap.c
lib/ldap.c
lib/openldap.c
lib/pop3.c
lib/request.c
lib/request.h
lib/rtsp.c
lib/smtp.c
lib/telnet.c
lib/tftp.c
lib/transfer.c
lib/transfer.h
lib/url.c
lib/vssh/libssh.c
lib/vssh/libssh2.c
lib/vssh/wolfssh.c
lib/vtls/gtls.c
lib/vtls/schannel.c
lib/vtls/schannel_int.h