Guard empty keepalive frames

This commit is contained in:
Mark Qvist 2026-08-28 21:47:24 +02:00
parent 149e415109
commit 4eebf0b685
No known key found for this signature in database
8 changed files with 8 additions and 0 deletions

View file

@ -302,6 +302,7 @@ class TCPClientInterface(Interface):
raise IOError("Attempt to reconnect on a non-initiator TCP interface")
def process_incoming(self, data):
if not data: return
if self.online and not self.detached:
self.rxb += len(data)
if hasattr(self, "parent_interface") and self.parent_interface != None: