Skip to content

Commit

Permalink
none of the "command" clients need network caps to be parsed since th…
Browse files Browse the repository at this point in the history
…ey don't reply after hello

git-svn-id: https://xpra.org/svn/Xpra/trunk@6978 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 28, 2014
1 parent f71c2d3 commit 9473392
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/xpra/client/gobject_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,9 @@ def _process_connection_lost(self, packet):
self.quit(EXIT_OK)

def server_connection_established(self):
#don't parse all the server caps, just the network (so we can use rencode, auth, etc):
if not XpraClientBase.parse_network_capabilities(self):
self.quit(1)
return
#don't bother parsing the network caps:
#* it would cause errors because the caps will be missing
#* we don't care about sending anything back after hello
log("server_capabilities: %s", self.server_capabilities)
log("protocol state: %s", self._protocol.save_state())
self.do_command()
Expand Down

0 comments on commit 9473392

Please sign in to comment.