1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-23 17:34:17 +03:00

Fixed userService name on ServiceNotReady exception && small fix to comment

This commit is contained in:
Adolfo Gómez García 2021-07-29 12:24:24 +02:00
parent 10d9279b89
commit 612646bd1c
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ class ForwardServer(socketserver.ThreadingTCPServer):
rsocket.connect(self.remote)
rsocket.sendall(HANDSHAKE_V1) # No response, just the handshake
rsocket.sendall(HANDSHAKE_V1) # No response expected, just the handshake
context = ssl.create_default_context()

View File

@ -107,5 +107,5 @@ class ServiceNotReadyError(ServiceException):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.code = kwargs.get('code', 0x0000)
self.userService = kwargs.get('service', None)
self.userService = kwargs.get('userService', None)
self.transport = kwargs.get('transport', None)