]> git.ipfire.org Git - thirdparty/curl.git/commit
cfilter: remove 'blocking' connect handling
authorStefan Eissing <stefan@eissing.org>
Wed, 19 Feb 2025 15:49:31 +0000 (16:49 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 20 Feb 2025 10:13:51 +0000 (11:13 +0100)
commita1850ad7debe33fded6367e34d5c06be4d51f58e
treecf06b812d1c91f6deb41226d79ce4f984f7a854a
parent654f8cb5f353905c6eb5b2a6ef7e5beafa7d0634
cfilter: remove 'blocking' connect handling

Remove `blocking` argument from cfilter's connect method.

Implement blocking behaviour in Curl_conn_connect() instead for all
filter chains.

Update filters implementations. Several of which did never use the
paramter (QUIC for example). Simplifies connect handling in TLS filters
that no longer need to loop

Fixed a blocking connect call in FTP when waiting on a socket accept()
which only worked because the filter did not implement it.

Closes #16397
29 files changed:
lib/cf-h1-proxy.c
lib/cf-h2-proxy.c
lib/cf-haproxy.c
lib/cf-https-connect.c
lib/cf-socket.c
lib/cfilters.c
lib/cfilters.h
lib/connect.c
lib/ftp.c
lib/http2.c
lib/http_proxy.c
lib/select.c
lib/select.h
lib/socks.c
lib/vquic/curl_msh3.c
lib/vquic/curl_ngtcp2.c
lib/vquic/curl_osslq.c
lib/vquic/curl_quiche.c
lib/vtls/bearssl.c
lib/vtls/gtls.c
lib/vtls/mbedtls.c
lib/vtls/openssl.c
lib/vtls/rustls.c
lib/vtls/schannel.c
lib/vtls/sectransp.c
lib/vtls/vtls.c
lib/vtls/vtls_int.h
lib/vtls/wolfssl.c
tests/unit/unit2600.c