hi,
I'm using the esp-idf v4.2 with eclipse. facing the memory leak issue in esp_http_client module. after doing 23-25 http post request i got error code with mbedtls handshake fail(0x4290) after few more try got error code of 0x7f00.
For json i'm using cJSON lib which is free after free() after getting string from cJSON_print(). so i there is not problem in free the json string. here i'm sharing the peice of code in problem.txt of kindly tell if i'm going some thing wrong.
support for esp_http_client
support for esp_http_client
- Attachments
-
- problem.txt
- here is the code
- (4.09 KiB) Downloaded 302 times
Who is online
Users browsing this forum: No registered users and 45 guests