mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/http_server_lru' into 'master'
esp_http_server: Update LRU counter on accepting a new connection Closes IDFGH-1594 See merge request espressif/esp-idf!9345
This commit is contained in:
commit
7c5a5617a8
@ -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…
Reference in New Issue
Block a user