kopia lustrzana https://github.com/espressif/esp-idf
a875505546
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> |
||
---|---|---|
.. | ||
app_trace | ||
app_update | ||
asio | ||
aws_iot | ||
bootloader | ||
bootloader_support | ||
bt | ||
coap | ||
console | ||
cxx | ||
driver | ||
efuse | ||
esp-tls | ||
esp32 | ||
esp_adc_cal | ||
esp_common | ||
esp_event | ||
esp_http_client | ||
esp_http_server | ||
esp_https_ota | ||
esp_https_server | ||
esp_ringbuf | ||
esp_rom | ||
esp_wifi | ||
espcoredump | ||
esptool_py | ||
ethernet | ||
expat | ||
fatfs | ||
freemodbus | ||
freertos | ||
heap | ||
idf_test | ||
jsmn | ||
json | ||
libsodium | ||
log | ||
lwip | ||
mbedtls | ||
mdns | ||
mqtt | ||
newlib | ||
nghttp | ||
nvs_flash | ||
openssl | ||
partition_table | ||
protobuf-c | ||
protocomm | ||
pthread | ||
sdmmc | ||
smartconfig_ack | ||
soc | ||
spi_flash | ||
spiffs | ||
tcp_transport | ||
tcpip_adapter | ||
ulp | ||
unity | ||
vfs | ||
wear_levelling | ||
wifi_provisioning | ||
wpa_supplicant | ||
xtensa |