ssh: tracing and better pollset handling

Remove connection member `waitfor` and keep it in the SSH connection
meta. Add `ssh` to supported tracing features, convert many DEBUGF
printgs to traces.

Closes #19745
This commit is contained in:
Stefan Eissing 2025-11-28 12:49:16 +01:00 committed by Daniel Stenberg
parent e25a3c6734
commit 12a3182fc3
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
7 changed files with 178 additions and 107 deletions

View file

@ -156,7 +156,8 @@ struct ssh_conn {
int secondCreateDirs; /* counter use by the code to see if the
second attempt has been made to change
to/create a directory */
int orig_waitfor; /* default READ/WRITE bits wait for */
int waitfor; /* KEEP_RECV/KEEP_SEND bits overriding
pollset given flags */
char *slash_pos; /* used by the SFTP_CREATE_DIRS state */
#ifdef USE_LIBSSH