Skip to content

Commit

Permalink
#3592 assume info-namespace (unused anyway?)
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 26, 2023
1 parent 2937a64 commit a10c6eb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions xpra/client/base/gobject_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ class InfoXpraClient(CommandConnectClient):
def __init__(self, opts):
super().__init__(opts)
self.hello_extra["request"] = "info"
if FLATTEN_INFO>=1:
self.hello_extra["info-namespace"] = True

def timeout(self, *_args):
self.warn_and_quit(ExitCode.TIMEOUT, "timeout: did not receive the info")
Expand Down Expand Up @@ -357,7 +355,6 @@ def __init__(self, opts, **kwargs):
"request" : "connect_test",
#tells proxy servers we don't want to connect to the real / new instance:
"connect" : False,
"info-namespace" : True,
})
self.hello_extra.update(kwargs)

Expand Down Expand Up @@ -393,7 +390,6 @@ def __init__(self, opts):
self.hello_extra[f"wants_{x}"] = True
self.hello_extra.setdefault("wants", []).append(x)
self.hello_extra["request"] = "event"
self.hello_extra["info-namespace"] = True

def timeout(self, *args):
pass
Expand Down
1 change: 0 additions & 1 deletion xpra/client/mixins/network_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ def get_info(self) -> Dict[str,Any]:
def get_caps(self) -> Dict[str,Any]:
caps : Dict[str, Any] = {
"network-state" : True,
"info-namespace" : True, #v4 servers assume this is always supported
}
ssh_auth_sock = os.environ.get("SSH_AUTH_SOCK")
if SSH_AGENT and ssh_auth_sock and os.path.isabs(ssh_auth_sock):
Expand Down
2 changes: 0 additions & 2 deletions xpra/server/source/client_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def __repr__(self) -> str:

def init_state(self):
self.hello_sent = False
self.info_namespace = False
self.share = False
self.lock = False
self.control_commands : Tuple[str,...] = ()
Expand Down Expand Up @@ -198,7 +197,6 @@ def update_bandwidth_limits(self):

def parse_client_caps(self, c : typedict):
#general features:
self.info_namespace = c.boolget("info-namespace", True)
self.share = c.boolget("share")
self.lock = c.boolget("lock")
self.control_commands = c.strtupleget("control_commands")
Expand Down

0 comments on commit a10c6eb

Please sign in to comment.