esp_http_server: Add lru_socket flag in sock_db to indicate httpd_sess_close is called from httpd_sess_close_lru

This commit is contained in:
Shubham Kulkarni
2020-11-30 12:33:31 +05:30
committed by bot
parent b94c99a033
commit 00876a8946
3 changed files with 5 additions and 3 deletions

View File

@@ -67,8 +67,6 @@ 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;
}