Skip to content

libssh.c: handle EGAIN during proto-connect correctly - #14982

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:ssh_connect_again_fix
Closed

libssh.c: handle EGAIN during proto-connect correctly#14982
icing wants to merge 1 commit into
curl:masterfrom
icing:ssh_connect_again_fix

Conversation

@icing

@icing icing commented Sep 20, 2024

Copy link
Copy Markdown
Contributor

The implementation did not check the poll flags when a ssh_connect() EAGAINed. Also the poll check did not allow for both directions to be signalled by libssh, which it does.

This appeared during CI testing with higher paralellism.

The implementation did not check the poll flags when a ssh_connect()
EAGAINed. Also the poll check did not allow for both directions
to be signalled by libssh, which it does.

This appeared during CI testing with higher paralellism.
@icing
icing requested a review from bagder September 20, 2024 14:59

@bagder bagder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@bagder bagder closed this in 5895b71 Sep 20, 2024
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
The implementation did not check the poll flags when a ssh_connect()
EAGAINed. Also the poll check did not allow for both directions
to be signalled by libssh, which it does.

This appeared during CI testing with higher paralellism.

Closes curl#14982
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants