Commit cdbe1def authored by Jan Moskyto Matejka's avatar Jan Moskyto Matejka

SSH: Commented quirk based on undocumented behavior of LibSSH

parent f7f70bed
......@@ -1415,6 +1415,10 @@ sk_ssh_connect(sock *s)
switch (ssh_connect(s->ssh->session))
{
case SSH_AGAIN:
/* A quick look into libSSH shows that ssh_get_fd() should return non-(-1)
* after SSH_AGAIN is returned by ssh_connect(). This is however nowhere
* documented but our code relies on that.
*/
return SSH_AGAIN;
case SSH_OK:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment