SSH: Commented quirk based on undocumented behavior of LibSSH
This commit is contained in:
parent
f7f70bed8f
commit
cdbe1defa4
1 changed files with 4 additions and 0 deletions
|
@ -1415,6 +1415,10 @@ sk_ssh_connect(sock *s)
|
||||||
switch (ssh_connect(s->ssh->session))
|
switch (ssh_connect(s->ssh->session))
|
||||||
{
|
{
|
||||||
case SSH_AGAIN:
|
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;
|
return SSH_AGAIN;
|
||||||
|
|
||||||
case SSH_OK:
|
case SSH_OK:
|
||||||
|
|
Loading…
Reference in a new issue