Skip to content

Commit

Permalink
use legacy packet types until bugs are fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jan 30, 2023
1 parent 90424bb commit 284aeec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xpra/client/client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
SPLASH_LOG = envbool("XPRA_SPLASH_LOG", False)
LOG_DISCONNECT = envbool("XPRA_LOG_DISCONNECT", True)
SKIP_UI = envbool("XPRA_SKIP_UI", False)
LEGACY_PACKET_TYPES = envbool("XPRA_LEGACY_PACKET_TYPES", True)

ALL_CHALLENGE_HANDLERS = os.environ.get("XPRA_ALL_CHALLENGE_HANDLERS",
"uri,file,env,kerberos,gss,u2f,prompt,prompt,prompt,prompt").split(",")
Expand Down Expand Up @@ -1061,7 +1062,8 @@ def parse_network_capabilities(self, caps : typedict) -> bool:
p.set_compression_level(self.compression_level)
p.enable_compressor_from_caps(caps)
p.parse_remote_caps(caps)
self.server_packet_types = caps.strtupleget("packet-types")
if not LEGACY_PACKET_TYPES:
self.server_packet_types = caps.strtupleget("packet-types")
netlog(f"self.server_packet_types={self.server_packet_types}")
return True

Expand Down

0 comments on commit 284aeec

Please sign in to comment.