➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 gvanrossum
收信人 Dennis Sweeney, aeros, arhadthedev, asvetlov, erlendaasland, gvanrossum, kj, miss-islington, ncoghlan, sobolevn, terry.reedy, vstinner, yselivanov
日期 2022-01-23.17:30:28
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1642959029.08.0.0402444489805.issue41682@roundup.psfhosted.org>
In-reply-to
内容
I'm wondering if the test is faulty. It seems to call EventLoop.sendfile() with a file that is 8K + 1 byte long,
and the protocol is instructed to close after 1K bytes have been written, but it seems to try to send as much of the file as it can.
Could it be that on Win22 the primitive used (TransmitFile) has an internal minimum buffer size that exceeds this file size, so the first call sends the whole file and there's no error?

@Andrew Svetlov, do you know enough of the internals of this code to validate my theory?
历史
日期 用户 动作 参数
2022-01-23 17:30:29gvanrossum修改recipients: + gvanrossum, terry.reedy, ncoghlan, vstinner, asvetlov, yselivanov, miss-islington, Dennis Sweeney, aeros, erlendaasland, sobolevn, kj, arhadthedev
2022-01-23 17:30:29gvanrossum修改messageid: <1642959029.08.0.0402444489805.issue41682@roundup.psfhosted.org>
2022-01-23 17:30:29gvanrossum链接issue41682 messages
2022-01-23 17:30:28gvanrossum创建