esp-idf/components
Piyush Shah f677655fcb protocomm_httpd: Restart security session if request is received on a new session
This commit fixes a bug as well as changes a behaviour.

Bugfix: During softap/httpd based provisioning, if a session was closed
midway and a new one started, it would never proceed if the http server
assigns same socket number to the new session (which happens almost always).
Now, if a session is closed, using the http callbacks, the older session
data is cleared so that a new one can be created.

Behavioural change: If a client (mobile app particularly) does not use
persistent http session i.e. all provisioning communication on the same
socket, the provisioning may fail. Earlier, since the session context was
not getting cleared, even if the client closed a session and continued
on a new one, it would go through if the socket number assigned was same
(which happens almost always).

Ideally, from a security perspective, all communication related
to secure provisioning must happen on the same socket, and so, this
change is required.
2020-06-10 01:25:53 +05:30
..
app_trace gcov_example: Adds cmake target to generate report 2019-07-05 12:44:35 +00:00
app_update app_update: fix test failure for get_app_elf_sha256 test 2020-04-15 21:13:21 +08:00
asio components: use new component registration api 2019-06-21 19:53:29 +08:00
bootloader secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app 2020-04-01 16:42:41 +11:00
bootloader_support flash: fix spi flash clock config error 2020-05-27 04:38:40 +00:00
bt Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v4.0' into 'release/v4.0' 2020-06-03 15:20:51 +08:00
coap lwip_2.1.2 for idf_4.0 2019-07-07 01:51:45 +00:00
console cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
cxx build system: move -fno-rtti link option next to the compile option 2019-11-28 11:02:30 +01:00
driver Merge branch 'bugfix/fix_fifo_cnt_bug_v4.0' into 'release/v4.0' 2020-06-08 13:25:58 +08:00
efuse efuse: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug 2020-04-15 20:52:50 +08:00
esp32 test: add a (non-automated) case for backtraces with ROM functions 2020-04-21 11:49:15 +02:00
esp_adc_cal esp_adc_cal: Remove deprecated ADC calibration functions 2019-09-19 18:48:14 +10:00
esp_common version: Update to v4.0.1 2020-05-25 14:05:55 +10:00
esp_eth ethernet: support pin emac task to core 2020-06-03 19:54:22 +08:00
esp_event esp_event: remove extra line from source file 2020-03-22 21:46:07 +08:00
esp_gdbstub esp32_gdbstub: fix build error with esp32-2019r1 toolchain 2019-08-13 11:38:28 +05:30
esp_http_client Bugfix for failing OTA example 2020-03-18 08:19:56 +00:00
esp_http_server esp_http_server: Fixed a bug which could cause issues with LRU purge 2020-06-05 09:24:06 +00:00
esp_https_ota esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA 2020-03-18 08:19:56 +00:00
esp_https_server esp_https_server: Add support for esp-tls server APIs 2019-06-25 23:43:35 +00:00
esp_local_ctrl cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files 2019-07-05 18:20:15 +05:30
esp_ringbuf ringbuf: Remove deprecated RingbufferType_t 2019-09-19 18:48:55 +10:00
esp_rom components/bt: Fix assert when create conntion cancel 2020-03-28 20:44:43 +08:00
esp_websocket_client ws_client: fix fragmented send setting proper opcodes 2020-05-22 06:11:44 +00:00
esp_wifi esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold 2020-06-07 10:55:02 +05:30
esp-tls fix(transport): Fix a bug of the connection whether be active or not by timeout option when the select function return a correct value. 2020-04-15 09:49:03 +00:00
espcoredump core dump: don't allow core dumps to Flash if PSRAM is used for stacks 2020-04-02 23:44:47 +02:00
esptool_py tools: Fix flashing encrypted binaries from IDF Monitor 2020-03-27 10:31:37 +01:00
expat expat: Update library from 2.2.5 to 2.2.9 2019-12-05 09:17:39 +01:00
fatfs Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() 2019-10-18 10:27:37 +02:00
freemodbus cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
freertos timer_group: fix intr_enable 2020-05-06 17:28:18 +08:00
heap Merge branch 'bugfix/heap_psram_fill_v4.0' into 'release/v4.0' 2020-05-29 12:43:45 +08:00
idf_test esp_wifi: backport some wifi bugs 0323 2020-03-24 15:10:31 +08:00
jsmn components: use new component registration api 2019-06-21 19:53:29 +08:00
json cJSON: include only source file objects for cmake build 2020-02-10 17:32:26 +05:30
libsodium cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
log esp_wifi: backport some wifi bugs 0323 2020-03-24 15:10:31 +08:00
lwip add LINGER to menuconfig 2020-05-25 11:31:38 +08:00
mbedtls mbedtls: Make ECDHE-PSK config item depend on ECDHE 2020-04-01 16:43:03 +11:00
mdns Merge branch 'bugfix/mdns_deinit_event_crash_v4.0' into 'release/v4.0' 2020-01-09 13:02:28 +08:00
mqtt mqtt: clenaup logs and docs, esp_mqtt_abort_connection race condition 2020-05-22 06:21:25 +00:00
newlib newlib: define fcntl as strong symbol 2019-12-13 14:12:36 +00:00
nghttp cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
nvs_flash Merge branch 'bugfix/IDFGH-2910_v4.0' into 'release/v4.0' 2020-04-09 05:45:21 +08:00
openssl Fix Kconfig issues discovered by upstream Kconfiglib 2019-09-25 08:25:51 +02:00
partition_table partition_table: output partition table info for partition_table target 2020-03-22 21:04:03 +08:00
protobuf-c components: use new component registration api 2019-06-21 19:53:29 +08:00
protocomm protocomm_httpd: Restart security session if request is received on a new session 2020-06-10 01:25:53 +05:30
pthread pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper 2020-05-12 10:35:47 +05:30
sdmmc driver: fix gpio pin_bit_mask truncation in sdspi_host and others 2020-04-02 23:38:17 +02:00
soc soc: clear PHY status when cpu start 2020-02-13 14:36:11 +08:00
spi_flash spi_flash(new driver): Add a Kconfig option - Bypass a block erase and always do sector erase 2020-05-22 05:07:20 +00:00
spiffs spiffs: fix build issue on clean project 2019-11-11 18:11:12 +08:00
tcp_transport ws_client: fix fragmented send setting proper opcodes 2020-05-22 06:11:44 +00:00
tcpip_adapter bugfix for TCPv6 send ok when sta disconnect 2020-03-19 14:06:40 +08:00
ulp ulp: fix ulp external project args 2020-03-22 21:09:03 +08:00
unity cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
vfs VFS: Check in select() if the UART driver is installed or not 2020-01-21 10:11:08 +01:00
wear_levelling global: update note in the partition tables 2019-07-27 10:28:16 +02:00
wifi_provisioning wifi_provisioning: Catch the Wi-Fi events even after Connection errors 2020-05-15 13:50:47 +00:00
wpa_supplicant Merge branch 'workaround/wps_iot_fixes_v4.0' into 'release/v4.0' 2020-06-05 13:50:27 +08:00
xtensa cmake: some formatting fixes 2019-06-21 19:53:29 +08:00