mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
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
This commit is contained in:
parent
654f8cb5f3
commit
a1850ad7de
29 changed files with 250 additions and 850 deletions
|
|
@ -122,6 +122,8 @@ void Curl_pollfds_init(struct curl_pollfds *cpfds,
|
|||
struct pollfd *static_pfds,
|
||||
unsigned int static_count);
|
||||
|
||||
void Curl_pollfds_reset(struct curl_pollfds *cpfds);
|
||||
|
||||
void Curl_pollfds_cleanup(struct curl_pollfds *cpfds);
|
||||
|
||||
CURLcode Curl_pollfds_add_ps(struct curl_pollfds *cpfds,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue