From: Daniel Stenberg Date: Thu, 27 Apr 2023 09:17:26 +0000 (+0200) Subject: libssh: tell it to use SFTP non-blocking X-Git-Tag: curl-8_1_0~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff67da58c4add27b05d237533d1cb39fb3894113;p=thirdparty%2Fcurl.git libssh: tell it to use SFTP non-blocking Reported-by: Andreas Huebner Fixes #11020 Closes #11039 --- diff --git a/lib/vssh/libssh.c b/lib/vssh/libssh.c index d60edaa303..7ebe613214 100644 --- a/lib/vssh/libssh.c +++ b/lib/vssh/libssh.c @@ -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;