mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 17:49:10 -04:00
esp_http_server: Update LRU counter on accepting a new connection
Closes https://github.com/espressif/esp-idf/issues/3851
This commit is contained in:
parent
e8c8286387
commit
f97751712f
@ -67,6 +67,8 @@ static esp_err_t httpd_accept_conn(struct httpd_data *hd, int listen_fd)
|
||||
close(new_fd);
|
||||
return ESP_FAIL;
|
||||
}
|
||||
httpd_sess_update_lru_counter(hd->hd_sd->handle, new_fd);
|
||||
|
||||
ESP_LOGD(TAG, LOG_FMT("complete"));
|
||||
return ESP_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user