libssh: tell it to use SFTP non-blocking
Reported-by: Andreas Huebner Fixes #11020 Closes #11039
This commit is contained in:
parent
de4b0164f2
commit
ff67da58c4
@ -1597,7 +1597,7 @@ static CURLcode myssh_statemach_act(struct Curl_easy *data, bool *block)
|
||||
MOVE_TO_SFTP_CLOSE_STATE();
|
||||
break;
|
||||
}
|
||||
|
||||
sftp_file_set_nonblocking(sshc->sftp_file);
|
||||
state(data, SSH_SFTP_DOWNLOAD_STAT);
|
||||
break;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user