mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
d154723a84
Operation: In `esp_http_client_set_url`, we check for if old_host is same as new_host. Delete and open new connection if host is different. Issue: We just pointed `client->connection_info.host` to `old_host` and reassigned it. This made old_host and new_host always point to same location and hence, using old_host with new request. Fix: Made a separate copy for old_host using strdup. Closes https://github.com/espressif/esp-idf/issues/2631 Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com> |
||
---|---|---|
.. | ||
include | ||
lib | ||
test | ||
CMakeLists.txt | ||
component.mk | ||
esp_http_client.c | ||
Kconfig |