]> granicus.if.org Git - python/commit
bpo-33353: test_asyncio set SO_SNDBUF after connect (GH-7086)
authorVictor Stinner <vstinner@redhat.com>
Thu, 24 May 2018 00:43:45 +0000 (02:43 +0200)
committerGitHub <noreply@github.com>
Thu, 24 May 2018 00:43:45 +0000 (02:43 +0200)
commitb97de3dd86046ac46567146d86a69d4f78ea09db
treeafe626b6613f022bf01b917e6b6cde060f93d18c
parent2932755cc11fd82b4908d60b24b837aa4f3028e6
bpo-33353: test_asyncio set SO_SNDBUF after connect (GH-7086)

bpo-32622, bpo-33353: On macOS, sock.connect() changes the
SO_SNDBUF value. Only set SO_SNDBUF and SO_RCVBUF buffer sizes
once a socket is connected or binded, not before.
Lib/test/test_asyncio/test_events.py