OVMS3-idf/components
Vikram Dattu 344cb99d34 Fix url redirection issue.
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>
2019-04-23 14:28:21 +05:30
..
app_trace cmake: Add support for test build 2018-10-20 12:07:24 +08:00
app_update bugfix/ota_magic_byte_issue: Fix indent and replace constant by macro 2018-12-20 12:29:25 +05:30
asio cmake: make main a component again 2018-09-11 09:44:12 +08:00
aws_iot cmake: make main a component again 2018-09-11 09:44:12 +08:00
bootloader cmake: remove unecessary info passed to bootloader build 2018-11-23 16:12:14 +08:00
bootloader_support Merge branch 'bugfix/esp_sha_signing_sha256_v3.2' into 'release/v3.2' 2019-04-14 02:57:45 +08:00
bt Decouple WiFi and BT with coexist to reduce bin size 2019-04-17 16:59:24 +08:00
coap cmake: silence some warnings in coap, bt, expat, libsodium, lwip and examples/bluetooth 2018-09-20 18:53:15 +08:00
console console/linenoise: support buffered stdout 2019-03-15 11:29:56 +08:00
cxx cmake: Add support for test build 2018-10-20 12:07:24 +08:00
driver spi: fix the bug of connecting SPI peripheral to read-only pins 2019-04-01 18:39:02 +08:00
esp-tls Merge branch 'bugfix/esp-tls-doc' into 'master' 2018-11-05 12:30:22 +08:00
esp32 Merge branch 'bugfix/remove_second_sha_enable_v3.2' into 'release/v3.2' 2019-04-23 07:38:00 +08:00
esp_adc_cal cmake: make main a component again 2018-09-11 09:44:12 +08:00
esp_event esp_event: detect leaks in unit test 2019-02-01 10:08:50 +08:00
esp_http_client Fix url redirection issue. 2019-04-23 14:28:21 +05:30
esp_http_server esp_http_server: Provide apps an option to let http_server ignore sess_ctx changes 2019-03-05 13:06:33 +05:30
esp_https_ota cmake: make main a component again 2018-09-11 09:44:12 +08:00
esp_ringbuf cmake: Add support for test build 2018-10-20 12:07:24 +08:00
espcoredump cmake: Add support for test build 2018-10-20 12:07:24 +08:00
esptool_py Update esptool.py to v2.6 2019-01-23 17:02:02 +08:00
ethernet ethernet: support new PHY (IP101) 2019-01-31 15:02:45 +08:00
expat cmake: Add support for test build 2018-10-20 12:07:24 +08:00
fatfs fatfs: Do not log from critical sections 2018-11-26 09:21:44 +01:00
freemodbus freemodbus: change critical sections to semaphore mutex 2019-03-07 16:01:43 +01:00
freertos freertos: Make xPortGetCoreID() volatile 2019-03-01 02:05:33 +00:00
heap heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC 2019-03-20 18:30:17 +11:00
idf_test test:update mesh test cases for ci test(v3.2) 2019-04-17 17:25:17 +08:00
jsmn cmake: make main a component again 2018-09-11 09:44:12 +08:00
json cmake: make main a component again 2018-09-11 09:44:12 +08:00
libsodium cmake: Add support for test build 2018-10-20 12:07:24 +08:00
log cmake: make main a component again 2018-09-11 09:44:12 +08:00
lwip fix the bug in auto Ip memory leak 2019-03-06 20:01:36 +08:00
mbedtls hwcrypto sha: Allow SHA contexts to be shared between tasks 2019-01-23 18:18:13 +08:00
mdns Merge branch 'bugfix/mdns_add_remove_multiple_srv_3.2' into 'release/v3.2' 2019-03-14 07:56:40 +08:00
micro-ecc cmake: make main a component again 2018-09-11 09:44:12 +08:00
mqtt mqtt: support for BEFORE_CONNECT event in idf 2019-03-21 14:35:49 +01:00
newlib newlib: Fix UT adjtime 2018-11-26 15:55:17 +11:00
nghttp cmake: make main a component again 2018-09-11 09:44:12 +08:00
nvs_flash mfg_util: Add changes to mfg_util as per changes in nvs_util 2019-04-04 18:28:10 +05:30
openssl cmake: make main a component again 2018-09-11 09:44:12 +08:00
partition_table cmake: Add support for test build 2018-10-20 12:07:24 +08:00
protobuf-c protobuf-c : Added Google's protocol buffer C library as sub-module 2018-10-02 19:07:28 +05:30
protocomm Unified Provisioning: Miscellaneous fixes in BLE 2019-04-09 11:25:42 +05:30
pthread Merge branch 'feature/cmake-unit-test' into 'master' 2018-10-22 16:29:15 +08:00
sdmmc cmake: Add support for test build 2018-10-20 12:07:24 +08:00
smartconfig_ack cmake: make main a component again 2018-09-11 09:44:12 +08:00
soc efuse/flash encryption: Reduce FLASH_CRYPT_CNT to a 7 bit efuse field 2019-04-12 07:28:57 +00:00
spi_flash cmake: Add support for test build 2018-10-20 12:07:24 +08:00
spiffs spiffs: increase timeout in readdir test 2018-11-21 03:42:15 +00:00
tcp_transport tcp_transport: modification of ws to read headers first in order to read the exact payload 2019-03-21 14:35:59 +01:00
tcpip_adapter mdns: fixed crashes on network changes 2018-10-24 12:03:41 +02:00
ulp cmake: Fix for Python files executed directly, not via PYTHON variable 2019-03-25 11:41:00 +08:00
vfs vfs: fix unregister removing top level VFS instead of nested 2019-01-23 16:28:48 +08:00
wear_levelling Version update from V1 to V2 now done in correct way. 2018-10-26 09:21:30 +03:00
wifi_provisioning wifi_provisioning : context pointer added to wifi_config_t structure and related examples/docs updated 2019-02-18 08:18:44 +00:00
wpa_supplicant cmake: Add support for test build 2018-10-20 12:07:24 +08:00
xtensa-debug-module cmake: make main a component again 2018-09-11 09:44:12 +08:00