提交 14dd44ad 编写于 作者: C copercini 提交者: Me No Dev

Reduce net_would_block calls in handshake verification (#795)

This reduce net_would_block calls and CPU utilization
上级 c1ce87e0
......@@ -161,6 +161,7 @@ int start_ssl_client(sslclient_context *ssl_client, const char *host, uint32_t p
if (ret != MBEDTLS_ERR_SSL_WANT_READ && ret != MBEDTLS_ERR_SSL_WANT_WRITE) {
return handle_error(ret);
}
vTaskDelay(10 / portTICK_PERIOD_MS);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册