Skip to content
Snippets Groups Projects
Commit d45ed0ec authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

SSH: acknowledge speedcheck

Check for speedcheck limits during the state machine traversals
parent e21b103c
No related branches found
No related tags found
No related merge requests found
......@@ -2456,6 +2456,12 @@ static CURLcode ssh_easy_statemach(struct connectdata *conn,
if(Curl_pgrsUpdate(conn))
return CURLE_ABORTED_BY_CALLBACK;
else {
struct timeval now = Curl_tvnow();
result = Curl_speedcheck(data, now);
if(result)
return result;
}
left = Curl_timeleft(data, NULL, duringconnect);
if(left < 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment