mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-25 15:56:02 +00:00
Don't send keepalive too early
This commit is contained in:
1 parent
04e056da02
commit
429069f372
2 files changed
+2
-5
No files matched your search
@@ -657,7 +657,7 @@ class NearbyConnection {
|
||||
return
|
||||
}
|
||||
|
||||
if lastKeepAliveFrameSent.isOlderThan(seconds: ackInterval) {
|
||||
if encryptionDone && lastKeepAliveFrameSent.isOlderThan(seconds: ackInterval) {
|
||||
sendKeepAlive(ack: false)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user