mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 04:34:31 +02:00
Merge branch 'bugfix/httpd_lru_purge_v3.2' into 'release/v3.2'
esp_http_server: Fixed a bug which could cause issues with LRU purge (v3.2) See merge request espressif/esp-idf!8835
This commit is contained in:
@@ -198,7 +198,7 @@ static int fd_is_valid(int fd)
|
|||||||
static inline uint64_t httpd_sess_get_lru_counter()
|
static inline uint64_t httpd_sess_get_lru_counter()
|
||||||
{
|
{
|
||||||
static uint64_t lru_counter = 0;
|
static uint64_t lru_counter = 0;
|
||||||
return lru_counter++;
|
return ++lru_counter;
|
||||||
}
|
}
|
||||||
|
|
||||||
void httpd_sess_delete_invalid(struct httpd_data *hd)
|
void httpd_sess_delete_invalid(struct httpd_data *hd)
|
||||||
|
Reference in New Issue
Block a user