Merge branch 'bugfix/httpd_lru_purge' into 'master'
esp_http_server: Fixed a bug which could cause issues with LRU purge Closes IDFGH-2680 See merge request espressif/esp-idf!8818
This commit is contained in:
commit
e497bf37c4
|
@ -202,7 +202,7 @@ static int fd_is_valid(int fd)
|
||||||
static inline uint64_t httpd_sess_get_lru_counter(void)
|
static inline uint64_t httpd_sess_get_lru_counter(void)
|
||||||
{
|
{
|
||||||
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)
|
||||||
|
|
Loading…
Reference in a new issue