esp-idf/components/protocomm/src/transports
Piyush Shah 72fa8d0750 protocomm_httpd: Use HTTP cookies to track session
Earlier, a "socket connection" was being considered as a protocomm "session".
However, for HTTP, we cannot expect clients to necessarily use the same
socket for all requests of a given transaction. This was indeed causing
some failures for Wi-Fi provisioning from Android phones.

So, we have introduced http cookies to track a session even if the socket
connection does not stay intact throughout the transaction.
This change is backward compatible. If the client does not use cookies, the
socket connection will be considered as the session.

Closes: https://github.com/espressif/esp-idf/issues/6316
Reference: https://github.com/espressif/esp-idf/pull/6330
2021-01-13 04:34:10 +00:00
..
protocomm_ble.c BLE provisioning: Add check for valid ble read offset 2020-07-14 13:14:53 +00:00
protocomm_console.c protocomm_console.c: Check if memory is allocated to buf and if not then return ESP_ERR_NO_MEM error 2020-10-06 10:13:40 +05:30
protocomm_httpd.c protocomm_httpd: Use HTTP cookies to track session 2021-01-13 04:34:10 +00:00
protocomm_nimble.c NimBLE: Fix bug in protocomm_nimble chararcteristic access callback 2019-08-15 10:50:30 +08:00