mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 13:36:47 +00:00
Include client age/UA string when closing due to a spurious keepalive request.
This commit is contained in:
1 parent
adbc4e9fec
commit
7cf50a15d0
2 files changed
+11
-1
No files matched your search
+5
-1
@@ -45,7 +45,11 @@ public class KeepAliveController {
|
||||
{
|
||||
if (account != null) {
|
||||
if (!clientPresenceManager.isLocallyPresent(account.getUuid(), account.getAuthenticatedDevice().get().getId())) {
|
||||
logger.warn("***** No local subscription found for {}::{}", account.getUuid(), account.getAuthenticatedDevice().get().getId());
|
||||
logger.warn("***** No local subscription found for {}::{}; age = {}ms, User-Agent = {}",
|
||||
account.getUuid(), account.getAuthenticatedDevice().get().getId(),
|
||||
System.currentTimeMillis() - context.getClient().getCreatedTimestamp(),
|
||||
context.getClient().getUserAgent());
|
||||
|
||||
context.getClient().close(1000, "OK");
|
||||
|
||||
String platform;
|
||||
|
||||
Reference in new issue
Block a user