Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement getsockopt() for nonblocking connect() #7

Closed
rpwoodbu opened this issue Jan 20, 2014 · 1 comment
Closed

Implement getsockopt() for nonblocking connect() #7

rpwoodbu opened this issue Jan 20, 2014 · 1 comment
Assignees
Labels

Comments

@rpwoodbu
Copy link
Owner

Currently, an ssh connection failure is not communicated properly to libssh, which means that failed connections simply have to timeout within libssh (only 10 seconds, but still).

This is due to the fact that the socket is non-blocking, which requires getsockopt() to communicate the disposition of the connection, which has not been implemented.

See man connect and search for EINPROGRESS for details.

@rpwoodbu
Copy link
Owner Author

rpwoodbu commented Feb 3, 2014

Done in SHA 64d0022.

@rpwoodbu rpwoodbu closed this as completed Feb 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant