curl/lib/vssh
Stefan Eissing 8ce16e7bf2
timeout handling: auto-detect effective timeout
When checking a transfer for being expired via `Curl_timeleft_ms()`,
eleminate the `bool connecting` parameter and have the function check
the `mstate` of the transfer instead.

Advantages:
* eleminate the caller needing awareness if the transfer is
  connecting or in a later state
* fix pingpong timeout handling to check the correct timeout
  during "proto_connect" phases
* avoid using "connecting" timeouts during establishing a secondary
  connection (e.g. FTP) since this would use the timestamp from
  the original, primary connect and thus be wrong

Reported-by: Wyuer on github
Fixes #20347
Closes #20354
2026-01-20 16:43:45 +01:00
..
libssh.c timeout handling: auto-detect effective timeout 2026-01-20 16:43:45 +01:00
libssh2.c timeout handling: auto-detect effective timeout 2026-01-20 16:43:45 +01:00
ssh.h lib: separate scheme info from protocol implementation 2026-01-19 23:15:13 +01:00
vssh.c lib: separate scheme info from protocol implementation 2026-01-19 23:15:13 +01:00
vssh.h lib: separate scheme info from protocol implementation 2026-01-19 23:15:13 +01:00