xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Opened 3 years ago

Last modified 12 months ago

#2156 closed enhancement

detect network pushback — at Initial Version

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

Description

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 here 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 (0)

Note: See TracTickets for help on using tickets.