From b082ed5d2b8c417109dc48d53c6c5a42b631b58e Mon Sep 17 00:00:00 2001 From: Shubham Kulkarni Date: Fri, 22 Jan 2021 15:33:57 +0530 Subject: [PATCH] Enable lru_purge_enable in simple HTTP server example --- examples/protocols/http_server/simple/main/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/protocols/http_server/simple/main/main.c b/examples/protocols/http_server/simple/main/main.c index 79fc4f34b7..f6424bd82f 100644 --- a/examples/protocols/http_server/simple/main/main.c +++ b/examples/protocols/http_server/simple/main/main.c @@ -226,6 +226,7 @@ httpd_handle_t start_webserver(void) { httpd_handle_t server = NULL; httpd_config_t config = HTTPD_DEFAULT_CONFIG(); + config.lru_purge_enable = true; // Start the httpd server ESP_LOGI(TAG, "Starting server on port: '%d'", config.server_port);