mirror of
https://github.com/curl/curl.git
synced 2025-09-21 03:22:41 +03:00
axtls: Use Curl_wait_ms instead of the less-portable usleep
This commit is contained in:
parent
52c5e9488c
commit
b1839f6ed8
|
@ -499,7 +499,7 @@ Curl_axtls_connect(struct connectdata *conn,
|
||||||
return map_error_to_curl(ssl_fcn_return);
|
return map_error_to_curl(ssl_fcn_return);
|
||||||
}
|
}
|
||||||
/* TODO: avoid polling */
|
/* TODO: avoid polling */
|
||||||
usleep(10000);
|
Curl_wait_ms(10);
|
||||||
}
|
}
|
||||||
infof (conn->data, "handshake completed successfully\n");
|
infof (conn->data, "handshake completed successfully\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user