1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-24 02:04:09 +03:00

Merge remote-tracking branch 'origin/v3.6'

This commit is contained in:
Adolfo Gómez García 2023-05-11 16:41:00 +02:00
commit a9522b88ab
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
3 changed files with 3 additions and 11 deletions

View File

@ -9,6 +9,7 @@ fi
echo "Installing UDSClient Portable..."
cp UDSClient-0.0.0-x86_64.AppImage /usr/bin
chmod 755 /usr/bin/UDSClient-0.0.0-x86_64.AppImage
cp UDSClient.desktop /usr/share/applications
update-desktop-database

View File

@ -1,3 +1,5 @@
UDSClient is the client connector needed to get acccess to services managed by UDS Broker.
For raspberry Pi, AppImage does not works with 1.1.0 (works with 1.0.3)
Please, visit http://www.udsenterprise.com for more information

View File

@ -229,16 +229,6 @@ class Handler(socketserver.BaseRequestHandler):
# All is fine, now we can tunnel data
# If we have a payload, send it
if self.server.initial_payload:
to_send, to_receive = self.server.initial_payload
if to_send: # To send
ssl_socket.sendall(to_send)
if to_receive:
temp = ssl_socket.recv(len(to_receive))
if temp != to_receive:
raise Exception(f'Invalid response: {temp!s} != {to_receive!s}')
self.process(remote=ssl_socket)
except Exception as e:
logger.error(f'Error connecting to {self.server.remote!s}: {e!s}')
@ -300,7 +290,6 @@ def forward(
local_port=local_port,
check_certificate=check_certificate,
keep_listening=keep_listening,
initial_payload=initial_payload,
)
# Starts a new thread
threading.Thread(target=_run, args=(fs,)).start()