mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 10:30:58 +02:00
Merge branch 'feat/make_https_async_request_under_crt_bundle_config_v5.4' into 'release/v5.4'
feat(esp_http_client): Make https_async request under CERT BUNDLE config (v5.4) See merge request espressif/esp-idf!41459
This commit is contained in:
@@ -618,6 +618,7 @@ static void http_perform_as_stream_reader(void)
|
|||||||
free(buffer);
|
free(buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if CONFIG_MBEDTLS_CERTIFICATE_BUNDLE
|
||||||
static void https_async(void)
|
static void https_async(void)
|
||||||
{
|
{
|
||||||
esp_http_client_config_t config = {
|
esp_http_client_config_t config = {
|
||||||
@@ -675,6 +676,7 @@ static void https_async(void)
|
|||||||
}
|
}
|
||||||
esp_http_client_cleanup(client);
|
esp_http_client_cleanup(client);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void https_with_invalid_url(void)
|
static void https_with_invalid_url(void)
|
||||||
{
|
{
|
||||||
@@ -836,7 +838,9 @@ static void http_test_task(void *pvParameters)
|
|||||||
http_redirect_to_https();
|
http_redirect_to_https();
|
||||||
http_download_chunk();
|
http_download_chunk();
|
||||||
http_perform_as_stream_reader();
|
http_perform_as_stream_reader();
|
||||||
|
#if CONFIG_MBEDTLS_CERTIFICATE_BUNDLE
|
||||||
https_async();
|
https_async();
|
||||||
|
#endif
|
||||||
https_with_invalid_url();
|
https_with_invalid_url();
|
||||||
http_native_request();
|
http_native_request();
|
||||||
#if CONFIG_MBEDTLS_CERTIFICATE_BUNDLE
|
#if CONFIG_MBEDTLS_CERTIFICATE_BUNDLE
|
||||||
|
Reference in New Issue
Block a user