IDF 4.4.5 Http请求出现内存分配失败,Component组件bug

sapoiuyt
Posts: 4
Joined: Fri Apr 15, 2022 2:54 am

IDF 4.4.5 Http请求出现内存分配失败,Component组件bug

Postby sapoiuyt » Fri Sep 15, 2023 7:40 am

ESP_LOGE(TAG, "buffer_size_tx : %d", config.buffer_size_tx);
esp_http_client_handle_t http_client = esp_http_client_init(&config);

上面是调用代码:

下面是打印日志。 在APP的用户代码,打印的esp_http_client_config_t是132,但是进入到esp_http_client_init函数打印的值是136.出现了结构体对不上的问题。请问怎么处理?

E (3864) wifi station: esp_http_client_config_t app_size = 132
E (3874) HTTP_CLIENT: esp_http_client_config_t componet_size = 136

Who is online

Users browsing this forum: No registered users and 27 guests