[api] Remove ClientInfo::get_combined_info() to eliminate heap fragmentation (#10970)
This commit is contained in:
1 parent
638c6cc14e
commit
f2aa5a754c
7 files changed
+21
-22
No files matched your search
@@ -177,7 +177,8 @@ void APIServer::loop() {
|
||||
// Network is down - disconnect all clients
|
||||
for (auto &client : this->clients_) {
|
||||
client->on_fatal_error();
|
||||
ESP_LOGW(TAG, "%s: Network down; disconnect", client->get_client_combined_info().c_str());
|
||||
ESP_LOGW(TAG, "%s (%s): Network down; disconnect", client->client_info_.name.c_str(),
|
||||
client->client_info_.peername.c_str());
|
||||
}
|
||||
// Continue to process and clean up the clients below
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user