xpra icon
Bug tracker and wiki

Opened 21 months ago

Closed 21 months ago

Last modified 10 months ago

#2156 closed enhancement (wontfix)

detect network pushback

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.5
Component: network Version: 2.4.x
Keywords: Cc:

Description (last modified by Antoine Martin)

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.

Change History (2)

comment:1 Changed 21 months ago by Antoine Martin

Description: modified (diff)
Resolution: wontfix
Status: newclosed

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

comment:2 Changed 10 months ago by Antoine Martin

For Linux, TCP_INFO: #2421.

Note: See TracTickets for help on using tickets.