diff --git a/CMakeLists.txt b/CMakeLists.txt index 19706ad..84a4013 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,7 @@ idf_component_register( esp_http_server esp_eth esp_modem - ttn-esp32 +# ttn-esp32 PRIV_REQUIRES ${libespfs_PRIV_REQUIRES} diff --git a/src/HTTPServer.c b/src/HTTPServer.c index 271d202..8aace3c 100644 --- a/src/HTTPServer.c +++ b/src/HTTPServer.c @@ -426,9 +426,9 @@ static httpd_handle_t start_webserver(void) { httpd_handle_t server = NULL; httpd_config_t config = HTTPD_DEFAULT_CONFIG(); - // config.lru_purge_enable = true; + config.lru_purge_enable = true; config.uri_match_fn = httpd_uri_match_wildcard; - // config.max_open_sockets = 3; + config.max_open_sockets = 5; config.stack_size = (4096 + 1024); // Start the httpd server