Xpra: Ticket #2156: detect network pushback

Following #999, the idea here was to use non-blocking sockets and catch EINTR then use this event to detect when the OS is blocking on writes.

The problem is that python3 actually retries syscalls automatically on EINTR so that's a non-starter.


There may be other socket options we can use on Linux: socket man page but this won't be portable.

Tue, 19 Feb 2019 09:17:01 GMT - Antoine Martin: status, description changed; resolution set

The only way to do this would be to use native OS calls for the network layer.

Mon, 10 Feb 2020 08:56:10 GMT - Antoine Martin:

For Linux, TCP_INFO: #2421.

Sat, 23 Jan 2021 05:43:42 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2156