Skip to content

Commit 030ba7d

Browse files
committed
Merge branch 'contrib/github_pr_17470' into 'master'
fix(http_server): Corrected initialization value for lru_counter at h… (GitHub PR) Closes IDFGH-16325 See merge request espressif/esp-idf!41639
2 parents de36c80 + 9e7074d commit 030ba7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/esp_http_server/src/httpd_sess.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ esp_err_t httpd_sess_new(struct httpd_data *hd, int newfd)
208208
session->handle = (httpd_handle_t) hd;
209209
session->send_fn = httpd_default_send;
210210
session->recv_fn = httpd_default_recv;
211+
session->lru_counter = hd->lru_counter;
211212

212213
// increment number of sessions
213214
hd->hd_sd_active_count++;

0 commit comments

Comments
 (0)