[issue33683] asyncio: sendfile tests ignore SO_SNDBUF on Windows

2018-09-19 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue33683] asyncio: sendfile tests ignore SO_SNDBUF on Windows

2018-05-29 Thread STINNER Victor
STINNER Victor 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\cpy

[issue33683] asyncio: sendfile tests ignore SO_SNDBUF on Windows

2018-05-29 Thread STINNER Victor
New submission from STINNER Victor : Follow-up of bpo-33353: On my PR 7200, test_sendfile_close_peer_in_the_middle_of_receiving() failed on Windows (AppVeyor) :-( For the SelectorEventLoop, it seems like sock.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 1024) doesn't work as intented: soc