mirror of
https://github.com/brl/mutter.git
synced 2025-02-13 11:54:09 +00:00
![Carlos Garnacho](/assets/img/avatar_default.png)
Plain input stream read() calls don't provide hard guarantees about the number of bytes read, but the async method callback sort of relies on bytes being less than requested only when reaching the end of the transmitted data. If that happens mid transfer, that doesn't bode well. This is actually the behavior of g_input_stream_read_all(), so switch to using it.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%