Method naming

This commit is contained in:
Mark Qvist 2026-08-19 14:22:36 +02:00
parent c95bb551ab
commit db7daa4d94
No known key found for this signature in database

View file

@ -1533,13 +1533,13 @@ class Transport:
@staticmethod
def inbound(raw, interface=None, tc=None):
try: Transport.process_inbound(raw, interface, tc)
try: Transport.preprocess_inbound(raw, interface, tc)
except Exception as e:
RNS.log(f"Error while processing inbound on {interface}: {e}", RNS.LOG_ERROR)
RNS.trace_exception(e)
@staticmethod
def process_inbound(raw, interface=None, tc=None):
def preprocess_inbound(raw, interface=None, tc=None):
if not Transport.ready:
wait_start = time.time()
while not Transport.ready: