OVMS3-idf/components
Piyush Shah 52c089fba7 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-08-06 18:25:53 +00:00
..
app_trace Merge branch 'doc/cleanup_apptrace2host_example' into 'master' 2019-02-15 17:06:57 +08:00
app_update app_update: fix test failure for get_app_elf_sha256 test 2020-04-15 21:49:32 +08:00
asio cmake: make main a component again 2018-09-11 09:44:12 +08:00
aws_iot Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
bootloader bootloader: Fix regression burning efuses late in boot process 2020-07-06 16:42:46 +10:00
bootloader_support bootloader: add definition of esp_clk_apb_freq 2020-06-08 16:45:29 +08:00
bt ble_mesh: stack: Update some fast prov functions 2020-07-03 08:54:59 +08:00
coap cmake: separate app from idf lib project 2018-11-27 13:59:24 +08:00
console console/linenoise: support buffered stdout 2019-03-15 11:31:22 +08:00
cxx cmake: separate app from idf lib project 2018-11-27 13:59:24 +08:00
driver ci: temporarily disable RS485 related tests 2020-07-22 08:46:57 +00:00
efuse efuse: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug 2020-04-15 20:24:41 +08:00
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-02-21 11:01:15 +01:00
esp32 Merge branch 'mesh/bugfix_set_type_v3.3' into 'release/v3.3' 2020-07-30 21:17:11 +08:00
esp_adc_cal Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
esp_event esp_event: remove extra line from source file 2020-03-22 22:34:38 +08:00
esp_http_client Bugfix for failing OTA example 2020-01-13 17:39:01 +05:30
esp_http_server esp_http_server: Update LRU counter on accepting a new connection 2020-06-26 19:25:42 +05:30
esp_https_ota esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA 2020-03-09 13:21:21 +05:30
esp_https_server https_server : Missing uri_match_fn paramater added to default config 2019-02-25 09:13:39 +00:00
esp_ringbuf Initialized some uninitialized variables in rtc_clk.c and ringbuf.c. 2019-01-23 16:47:23 +05:30
esp_websocket_client Merge branch 'feature/ws_timeout_v3.3' into 'release/v3.3' 2020-06-19 02:22:08 +08:00
espcoredump esp32: coredump header (fix linker.lf) 2019-03-08 09:49:37 +00:00
esptool_py cmake: Fix bug where PHY partition offset incorrectly set 2020-03-02 23:27:51 +00:00
ethernet ethernet: add kconfig help for GPIO0 output mode 2019-10-08 02:41:40 +00:00
expat expat: Update library from 2.2.5 to 2.2.9 2019-12-05 09:21:29 +01:00
fatfs Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() 2019-10-21 08:22:12 +02:00
freemodbus freemodbus: fix incorrectly set coils read event 2019-10-09 17:49:00 +02:00
freertos timer_group: fix intr_enable 2020-04-28 12:39:54 +08:00
heap heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on 2020-04-27 16:34:43 +10:00
idf_test Merge branch 'mesh/bugfix_set_type_v3.3' into 'release/v3.3' 2020-07-30 21:17:11 +08:00
jsmn cmake: make main a component again 2018-09-11 09:44:12 +08:00
json Update cJSON to v1.7.12 2019-08-21 18:55:32 +10:00
libsodium test: Set timeout of libsodium ed25519_convert test to 60s 2019-07-30 07:19:54 +00:00
log Update wifi lib 2020-03-10 20:01:39 +08:00
lwip add LINGER to menuconfig 2020-06-04 16:16:03 +08:00
mbedtls mbedtls: upgrade to release v2.16.5 2020-04-01 13:46:09 +00:00
mdns mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp 2020-01-08 10:22:10 +01:00
micro-ecc cmake: make main a component again 2018-09-11 09:44:12 +08:00
mqtt mqtt: clenaup logs and docs, esp_mqtt_abort_connection race condition 2020-05-04 08:06:59 +02:00
newlib newlib: don't define non-thread-safe versions of getc, putc 2020-03-19 12:44:20 +01:00
nghttp Modified http_parser to handle ICY uris. 2019-10-11 16:26:42 +05:30
nimble NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v3.3) 2020-07-23 11:28:42 +05:30
nvs_flash Merge branch 'fix/update_curr_page_state_3.3' into 'release/v3.3' 2019-07-08 15:19:56 +08:00
openssl Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
partition_table Merge branch 'bugfix/cmake_bugfixes_v3.3' into 'release/v3.3' 2020-07-20 08:43:52 +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 protocomm_httpd: Restart security session if request is received on a new session 2020-08-06 18:25:53 +00:00
pthread pthread: Transform the units of the stack size to the FreeRTOS domain 2019-02-27 12:21:23 +01:00
sdmmc cmake: Add support for test build 2018-10-20 12:07:24 +08:00
smartconfig_ack fix the bug for Airkiss can't get the ip of the cellphone 2020-02-19 10:19:26 +08:00
soc soc: clear PHY status when cpu start 2020-02-13 14:20:30 +08:00
spi_flash flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16 2019-10-19 15:01:46 +08:00
spiffs Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
tcp_transport optimization DNS get function 2020-06-04 16:05:17 +08:00
tcpip_adapter bugfix for TCPv6 send ok when sta disconnect 2020-03-18 17:58:07 +08:00
ulp cmake: Fix for Python files executed directly, not via PYTHON variable 2019-03-12 13:31:44 +08:00
unity Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
vfs VFS: Fix bug which occurs when driver is installed during a select() call 2019-10-22 10:15:21 +02:00
wear_levelling Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
wifi_provisioning wifi_provisioning: Catch the Wi-Fi events even after Connection errors 2020-05-05 22:10:25 +05:30
wpa_supplicant wpa_supplicant: WPS Inter operatability Fixes 2020-06-04 13:57:20 +05:30
xtensa-debug-module tools: implement linker script generation 2018-11-16 12:42:02 +08:00