xpra icon
Bug tracker and wiki

Opened 2 weeks ago

Closed 12 days ago

#2408 closed enhancement (fixed)

proxy ping

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 3.0
Component: core Version: 3.0.x
Keywords: Cc:

Description

The regular ping packets are passed through the proxy server unmodified so that client and server can use them to derive latency values.
But this means that the proxy cannot use its own ping packets to verify that the connection is still alive and well (see also #2405).
We can enhance the ping and ping-echo packets with a source-id which can then be used to identify and filter out ping packets that originated from the proxy server.

Change History (2)

comment:1 Changed 13 days ago by Antoine Martin

Status: newassigned

Done:

  • r23750 new 'ping-echo-sourceid' capability
  • r23771 collect client and server latency using ping packets, trigger warnings when echo takes too long, report values via 'xpra info'

TODO: close both connections if pings timeout.

comment:2 Changed 12 days ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

r23778 will drop the connections if pings timeout:

server requested disconnect:
 server shutdown
 disconnect from server
 client ping timeout
Note: See TracTickets for help on using tickets.