xpra icon
Bug tracker and wiki

Opened 4 months ago

Closed 4 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.

See:

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

Change History (1)

comment:1 Changed 4 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.

Note: See TracTickets for help on using tickets.