On Fri Sep 1 20:47:08 2023 +0000, Zebediah Figura wrote:
When can this happen?
Happens on Testbot machines before Win8. Here is the run of my patch without this check: https://testbot.winehq.org/JobDetails.pl?Key=136940#k207 . This also notably (and maybe expectedly) leads to missing the last 4096 bytes (so it is like Windows doesn't effectively use smaller buffers with async I/O). Also, it can happen on Linux if one configure smaller default buffer size in /proc/sys/net/core/rmem_default