Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.98k stars 169 forks source link

file-transfers and printing: read files as needed #4308

Open totaam opened 3 months ago

totaam commented 3 months ago

Even reading from stdin is handled as one big blob: https://github.com/Xpra-org/xpra/blob/1bff4bc094cb663d4d46a30cfc7db007ba023e69/xpra/client/base/command.py#L586-L598 Instead, we should be using Gio.InputStream instead.

See also #2990, #3329