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.

Author vstinner
Recipients njs, pitrou, vstinner, yselivanov
Date 2018-07-18.10:38:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Using "write.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 0)", I ran a stress test on test_socket() in 3 different terminals and I failed to reproduce the bug, whereas the same test (in 3 terminals) usually reproduces the bug in less than 30 seconds.

Using "write.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 1)", I still reproduce the bug.

It seems like Windows behaves differently with SO_SNDBUF=0 as if the socket has really no kernel buffer and so respects user preference for SO_SNDBUF=0 ;-)
Date User Action Args
2018-07-18 10:38:34vstinnersetrecipients: + vstinner, pitrou, njs, yselivanov
2018-07-18 10:38:34vstinnersetmessageid: <>
2018-07-18 10:38:34vstinnerlinkissue34130 messages
2018-07-18 10:38:34vstinnercreate