OVMS3-idf/components
Piyush Shah 05852bc4aa 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-05-11 13:01:13 +00:00
..
app_trace Merge branch 'feature/gcovr' into 'master' 2020-04-08 15:57:08 +08:00
app_update esp_ota_ops.c: Fix size calculation to erase partition range for OTA image 2020-03-31 14:58:32 +00:00
asio asio: updated ASIO port to use latest asio and esp-idf features 2020-01-09 21:53:50 +01:00
bootloader Merge branch 'bugfix/display_partition_table' into 'master' 2020-05-04 14:51:32 +08:00
bootloader_support Merge branch 'bugfix/secure_boot_v2_fixes' into 'master' 2020-05-05 11:13:30 +08:00
bt ble_mesh: Fix not update prov addr in fast prov 2020-05-11 02:29:18 +00:00
cbor
coap ESP32/coap_mbedtls:add macro checks 2019-10-09 16:46:46 +08:00
console Update linenoise.c: calloc returning NULL is not handled 2020-05-06 13:21:56 +08:00
cxx CXX: make __attribute__((init_priority(n))) work 2020-04-08 09:11:54 +08:00
driver spi: suppress spi_bus_lock_touch log level 2020-05-07 00:32:24 +08:00
efuse Remove "disable ROM BASIC boot mode" from ESP32-S2 2020-05-01 16:16:47 +10:00
esp-tls tcp_transport: close to return error only for socket error or invalid args 2020-05-05 15:53:09 +02:00
esp32 Merge branch 'feature/twdt_prints_backtrace' into 'master' 2020-05-04 14:58:53 +08:00
esp32s2 Merge branch 'feature/usb_wrap_headers' into 'master' 2020-05-10 19:19:14 +08:00
esp_adc_cal global: bring up esp32s2(not beta) 2020-01-16 17:41:31 +08:00
esp_common Merge branch 'mesh/power_save_function' into 'master' 2020-05-06 15:53:49 +08:00
esp_eth test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
esp_event esp_event: halve the events registered in performance test 2020-02-27 15:54:54 +05:00
esp_gdbstub docs: added information of task states on fatal errors documentation. 2020-04-27 14:41:55 +00:00
esp_hid esp_hid: fix memory leak if getting dev reports fails 2020-05-07 12:56:54 +00:00
esp_http_client esp_http_client: Add API to get URL from client 2020-05-07 14:20:28 +05:30
esp_http_server test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
esp_https_ota Resolve documentation issue reported by boarchuz in https://esp32.com/viewtopic.php?f=5&t=14148#p59419 2020-05-07 22:00:27 +02:00
esp_https_server esp_https_server: fix HTTPD_SSL_CONFIG_DEFAULT 2020-03-27 23:12:57 +08:00
esp_local_ctrl
esp_netif esp_netif: fix default connect handler to check dhcpc return value 2020-05-06 07:26:50 +02:00
esp_ringbuf freertos: place xQueueGenericCreateStatic into flash 2020-04-22 16:06:13 +08:00
esp_rom fix broken CONFIG_LEGACY_INCLUDE_COMMON_HEADERS 2020-04-20 14:01:09 +08:00
esp_serial_slave_link essl: new component to communicate with esp serial slave devices 2019-12-03 22:58:41 +08:00
esp_system esp_system: remove duplicated esp_digital_reset function 2020-05-04 10:13:14 +00:00
esp_timer esp_timer: alias esp_timer_get_time 2020-04-01 16:51:43 +08:00
esp_websocket_client ws_client: fix fragmented send setting proper opcodes 2020-04-14 16:11:32 +02:00
esp_wifi Merge branch 'mesh/power_save_function' into 'master' 2020-05-06 15:53:49 +08:00
espcoredump global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
esptool_py esptool: fix malformed json when no files are flashed 2020-05-04 19:11:26 +02:00
expat test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
fatfs Merge branch 'refactor/use_new_component_registration_functions' into 'master' 2020-03-25 08:02:42 +08:00
freemodbus freemodbus: add extern c block into common header for cpp 2020-04-17 17:56:50 +08:00
freertos Merge branch 'feature/gdb_stub_task_state' into 'master' 2020-04-29 13:21:31 +08:00
heap heap: added alloc failed hook and configuration options 2020-05-04 10:58:38 -03:00
idf_test mesh/ci: fix MESH_EST_0216 2020-05-05 18:07:31 +08:00
jsmn jsmn: define macros in build system 2019-11-29 18:05:24 +08:00
json cJSON: include only source file objects for cmake build 2020-02-05 11:14:23 +05:30
libsodium test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
log log: new macros to log when the cache is disabled 2020-04-02 15:35:13 +08:00
lwip dhcpserver: make subnet mask configurable 2020-04-30 14:04:22 +00:00
mbedtls mbedtls_hkdf: Add a config option to enable HKDF 2020-05-11 11:49:14 +05:30
mdns mdns: Allow config mDNS task stack size 2020-05-07 21:49:02 +02:00
mqtt mqtt: clenaup logs and docs 2020-04-30 14:05:36 +00:00
newlib Merge branch 'bugfix/esp32_eco3_init_syscall_table' into 'master' 2020-05-07 15:17:13 +08:00
nghttp Modified http_parser to handle ICY uris. 2019-10-11 05:04:08 +00:00
nvs_flash NVS: more graceful behavior for erasing partitions 2020-04-03 11:48:07 +08:00
openssl
partition_table esptool: don't generate flashing metadata in loadable elf build 2020-05-04 19:11:00 +02:00
perfmon test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
protobuf-c
protocomm protocomm_httpd: Restart security session if request is received on a new session 2020-05-11 13:01:13 +00:00
pthread pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper 2020-05-08 11:55:23 +05:30
sdmmc sdmmc: fix possible null dereference in output parameter assignement, whilst it was null checked as an input parameter 2020-03-27 18:46:39 +01:00
soc soc/usb: use new headers in LL, move some code out of LL 2020-04-29 10:04:13 +02:00
spi_flash spi_flash(new driver): Add a Kconfig option - Bypass a block erase and always do sector erase 2020-04-30 13:58:13 +08:00
spiffs spiffs: restore dependency of flash targets on spiffs images 2020-04-07 17:01:58 +08:00
tcp_transport tcp_transport: unit test for tcp connection timeout 2020-05-05 15:53:09 +02:00
tcpip_adapter lwip: Enable IPv6 stateless address autoconfiguration 2020-01-14 07:15:26 +00:00
tinyusb soc/usb: use new headers in LL, move some code out of LL 2020-04-29 10:04:13 +02:00
ulp test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
unity global: rename esp32s2beta to esp32s2 2020-01-22 12:14:38 +08:00
vfs vfs: semihost driver bugfix 2020-04-15 15:46:47 +02:00
wear_levelling test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
wifi_provisioning wifi_provisioning: Catch the Wi-Fi events even after Connection errors 2020-03-21 06:02:55 +00:00
wpa_supplicant fix(wpa_supplicant): fix memleak in wpa3 feature 2020-05-07 17:28:07 +08:00
xtensa esp32: IRAM_DATA_ATTR and IRAM_BSS_ATTR introduced 2020-04-17 19:35:23 +05:30