From 2360c293bdb7cc5361ce7661389f00bc583695e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Thu, 11 May 2023 20:39:26 +0200 Subject: [PATCH] Removed initial payload on tunnel. Will finally not be used --- client-py3/full/src/uds/tunnel.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client-py3/full/src/uds/tunnel.py b/client-py3/full/src/uds/tunnel.py index 5805e43dc..b5612e5d2 100644 --- a/client-py3/full/src/uds/tunnel.py +++ b/client-py3/full/src/uds/tunnel.py @@ -84,7 +84,6 @@ class ForwardServer(socketserver.ThreadingTCPServer): keep_listening: bool current_connections: int status: ForwardState - initial_payload: typing.Optional[bytes] address_family = socket.AF_INET @@ -96,7 +95,6 @@ class ForwardServer(socketserver.ThreadingTCPServer): local_port: int = 0, check_certificate: bool = True, keep_listening: bool = False, - initial_payload: typing.Optional[bytes] = None, ipv6_listen: bool = False, ipv6_remote: bool = False, ) -> None: @@ -120,7 +118,6 @@ class ForwardServer(socketserver.ThreadingTCPServer): self.keep_listening = keep_listening self.stop_flag = threading.Event() # False initial self.current_connections = 0 - self.initial_payload = initial_payload self.status = ForwardState.TUNNEL_LISTENING self.can_stop = False @@ -281,7 +278,6 @@ def forward( local_port: int = 0, check_certificate=True, keep_listening=True, - initial_payload: PayLoadType = None, ) -> ForwardServer: fs = ForwardServer( remote=remote,