[issue33683] asyncio: sendfile tests ignore SO_SNDBUF on Windows

STINNER Victor report at bugs.python.org
Tue May 29 10:08:59 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

The failure was:

FAIL: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_events.ProactorEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\projects\cpython\lib\test\test_asyncio\test_events.py", line 2506, in test_sendfile_close_peer_in_the_middle_of_receiving
    self.file.tell())
AssertionError: False is not true : 65536

--

In bpo-33353, I worked around the bug in my commit 9551f7719213243fd96c4f284079243773c26b3c by using a buffer of 128 KiB instead of 64 KiB.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33683>
_______________________________________


More information about the Python-bugs-list mailing list