Skip to content

ssh: tracing and better pollset handling - #19745

Closed
icing wants to merge 3 commits into
curl:masterfrom
icing:ssh-pollflags
Closed

ssh: tracing and better pollset handling#19745
icing wants to merge 3 commits into
curl:masterfrom
icing:ssh-pollflags

Conversation

@icing

@icing icing commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

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

Fix broken libssh.c state machine loop to continue processing while libssh reports some rc != 0 codes as errors are handled by progressing into error states which need then handling, not waiting on some poll event that may never come.

Remove connection member `waitfor` and keep it in the SSH connection
meta. Add `ssh` to supported tracing features, convert many DEBUGF
printgs to traces.
@curl curl deleted a comment from testclutch Nov 28, 2025
@icing
icing requested a review from bagder November 28, 2025 13:22
@icing

icing commented Nov 28, 2025

Copy link
Copy Markdown
Contributor Author

@vszakats will be interesting to see if this makes Windows builds using libssh more reliable.

@bagder bagder closed this in 12a3182 Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants