From 419956bada9a21d082b9faf54cc83a4a99e16057 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 26 Aug 2026 13:25:14 +0200 Subject: [PATCH] Over-optimization is the root of all evil --- RNS/Interfaces/BackboneInterface.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RNS/Interfaces/BackboneInterface.py b/RNS/Interfaces/BackboneInterface.py index faa07b3f..ef8b50da 100644 --- a/RNS/Interfaces/BackboneInterface.py +++ b/RNS/Interfaces/BackboneInterface.py @@ -949,9 +949,8 @@ class BackboneClientInterface(Interface): def process_outgoing(self, data): if self.online and not self.detached: try: - buffer_was_empty = len(self.transmit_buffer) == 0 self.transmit_buffer += bytes([HDLC.FLAG])+HDLC.escape(data)+bytes([HDLC.FLAG]) - if buffer_was_empty: BackboneInterface.tx_ready(self) + BackboneInterface.tx_ready(self) except Exception as e: RNS.log("Exception occurred while transmitting via "+str(self)+", tearing down interface", RNS.LOG_ERROR)