curl/lib/vssh
Stefan Eissing 6d5570c4dd
lib: replace conn [write]sockfd members by index
The `connectdata` members `sockfd` and `writesockfd` needed to by either
CURL_SOCKET_BAD or a copy of one of `conn->sock[2]`. When equal to one,
that index was used to send/recv/poll the proper socket or connection
filter chain.

Replace those with `send_idx` and `recv_idx` which are either -1, 0 or 1
to indicate which socket/filter to send/receive on.

Closes #18179
2025-08-06 08:47:12 +02:00
..
.checksrc checksrc: reduce exceptions, apply again to curlx 2025-06-27 17:33:35 +02:00
curl_path.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
curl_path.h lib: include files using known path 2025-04-08 17:00:00 +02:00
libssh.c lib: replace conn [write]sockfd members by index 2025-08-06 08:47:12 +02:00
libssh2.c lib: replace conn [write]sockfd members by index 2025-08-06 08:47:12 +02:00
ssh.h libssh: Use sftp_aio instead of sftp_async for sftp_recv 2025-07-28 22:35:39 +02:00
wolfssh.c lib: replace conn [write]sockfd members by index 2025-08-06 08:47:12 +02:00