50bd9f5fab
When data block is smaller than 4096 (and no EOF is reached), python's io.read() will call read(2) again to get more data. This may deadlock if the other end of connection will write anything only after receiveing data (which is the case for qubes.Filecopy). Disable this buffering by using syscall wrappers directly. To not affect performance that much, increase buffer size to 64k. Fixes QubesOS/qubes-issues#2948 |
||
---|---|---|
.. | ||
backup | ||
events | ||
tests | ||
tools | ||
vm | ||
__init__.py | ||
app.py | ||
base.py | ||
config.py | ||
devices.py | ||
exc.py | ||
features.py | ||
firewall.py | ||
label.py | ||
log.py | ||
spinner.py | ||
storage.py | ||
tags.py | ||
utils.py |