Merge branch 'master' into tooomm-qt5

This commit is contained in:
tooomm 2026-10-04 12:27:58 +02:00 • committed by GitHub
commit 94b85b8940
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
266 changed files with 11392 additions and 930 deletions

View file

@ -559,6 +559,15 @@ void RemoteClient::ping()
PendingCommand *pend = i.next().value();
if (pend->tick() > maxTimeout) {
i.remove();
// Answer the command instead of dropping it silently: the connection may still
// be alive (other traffic keeps lastDataReceived fresh) while this single
// command stalled, and awaiters such as TabServer's room-join dedup can only
// release their in-flight markers when `finished` fires. A silent drop wedges
// them permanently - e.g. a room whose join timing never surfaces again.
Response response;
response.set_response_code(Response::RespNotConnected);
response.set_cmd_id(pend->getCommandContainer().cmd_id());
pend->processResponse(response);
pend->deleteLater();
}
}