]> git.ipfire.org Git - thirdparty/curl.git/commit
cfilters:Curl_conn_get_select_socks: use the first non-connected filter
authorDaniel Stenberg <daniel@haxx.se>
Mon, 26 Dec 2022 08:59:20 +0000 (09:59 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 27 Dec 2022 09:48:29 +0000 (10:48 +0100)
commit728400f875e845f72ee5602edb905f6301ade3e7
tree8ac5dd9456958e94f410ffe648acb8c69c547eeb
parent901392cbb7939f43b7e7ed2b39135b45416a2714
cfilters:Curl_conn_get_select_socks: use the first non-connected filter

When there are filters addded for both socket and SSL, the code
previously checked the SSL sockets during connect when it *should* first
check the socket layer until that has connected.

Fixes #10157
Fixes #10146
Closes #10160

Reviewed-by: Stefan Eissing
lib/cfilters.c