Fix clang-format: use lower_snake_case for function-local constant

This commit is contained in:
J. Nick Koston
2026-03-19 19:18:58 -10:00
parent b877b4a57e
commit 402a308540
@@ -123,9 +123,9 @@ void AsyncWebServer::begin() {
}
// Default httpd stack is 4096. Increase to accommodate SerializationBuffer's
// 640-byte stack buffer used by web_server JSON request handlers.
constexpr size_t HTTPD_STACK_SIZE = 4096 + 256;
constexpr size_t httpd_stack_size = 4096 + 256;
httpd_config_t config = HTTPD_DEFAULT_CONFIG();
config.stack_size = HTTPD_STACK_SIZE;
config.stack_size = httpd_stack_size;
config.server_port = this->port_;
config.uri_match_fn = [](const char * /*unused*/, const char * /*unused*/, size_t /*unused*/) { return true; };
// Always enable LRU purging to handle socket exhaustion gracefully.