red-channel-client: Always enable latency monitor to keep tcp connection alive

Enterprise / Virtualization / SPICE - Frediano Ziglio [redhat.com] - 4 December 2019 16:28 EST

Create some traffic on the connection to avoid potential timeout on some proxies implementation which require some TCP data traffic. The timeout used by default is quite big (5 minutes) to reduce network traffic. In case connectivity monitoring is enabled or latency monitor is requested the timeout is reduced to the old default.

cff9d951 red-channel-client: Always enable latency monitor to keep tcp connection alive
server/red-channel-client.c | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share