Author vstinner
Recipients asvetlov, paul.moore, steve.dower, tim.golden, vstinner, yselivanov, zach.ware
Date 2018-05-29.14:07:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527602831.07.0.682650639539.issue33683@psf.upfronthosting.co.za>
In-reply-to
Content
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: sock.send(<16384 bytes>) returns 16384, as the 1024 limit is not taken in account :-(

Same issue for the ProactorEventLoop...

I'm not sure if it's a bug in asyncio, a bug (limitation) of Windows which ignores SO_SNDBUF, or something else...
History
Date User Action Args
2018-05-29 14:07:11vstinnersetrecipients: + vstinner, paul.moore, tim.golden, asvetlov, zach.ware, yselivanov, steve.dower
2018-05-29 14:07:11vstinnersetmessageid: <1527602831.07.0.682650639539.issue33683@psf.upfronthosting.co.za>
2018-05-29 14:07:10vstinnerlinkissue33683 messages
2018-05-29 14:07:10vstinnercreate