support for esp_http_client

AjitSingh
Posts: 10
Joined: Sat Jun 25, 2022 11:24 am

support for esp_http_client

Postby AjitSingh » Fri Jul 01, 2022 1:01 pm

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.
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