Skip to content

Commit

Permalink
warn that we don't handle auth
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@5880 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Mar 21, 2014
1 parent fa2409e commit c963873
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/xpra/server/proxy_instance_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,10 @@ def do_process_control_packet(self, proto, packet):
self.potential_protocols.remove(proto)
return
if packet_type=="hello":
caps = packet[1]
caps = typedict(packet[1])
if caps.boolget("challenge"):
self.send_disconnect(proto, "this socket does not use authentication")
return
if caps.get("info_request", False):
proto.send_now(("hello", self.get_proxy_info(proto)))
self.timeout_add(5*1000, self.send_disconnect, proto, "info sent")
Expand Down

0 comments on commit c963873

Please sign in to comment.