mirror of
https://github.com/curl/curl.git
synced 2026-07-27 23:33:08 +03:00
fix sftp_statemachine busyloop when *block=true
This commit is contained in:
parent
7dafe10db2
commit
3d40c0c5c6
1 changed files with 1 additions and 1 deletions
|
|
@ -3073,7 +3073,7 @@ static CURLcode ssh_statemachine(struct Curl_easy *data,
|
|||
break;
|
||||
}
|
||||
|
||||
} while(!result && (sshc->state != SSH_STOP));
|
||||
} while(!result && (sshc->state != SSH_STOP) && !*block);
|
||||
|
||||
if(result == CURLE_AGAIN) {
|
||||
/* we would block, we need to wait for the socket to be ready (in the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue