commit | 9551f7719213243fd96c4f284079243773c26b3c | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Tue May 29 16:02:07 2018 +0200 |
committer | GitHub <noreply@github.com> | Tue May 29 16:02:07 2018 +0200 |
tree | 97c3977ff93c4a840ae7427a687cc2777dc76d92 | |
parent | 73cbe7a01a22d02dbe1ec841e8779c775cad3d08 [diff] |
bpo-33353: test_asyncio use set_write_buffer_limits() (GH-7200) Use transport.set_write_buffer_limits() in sendfile tests of test_asyncio to make sure that the protocol is paused after sending 4 KiB. Previously, test_sendfile_fallback_close_peer_in_the_middle_of_receiving() failed on FreeBSD if the DATA was smaller than the default limit of 64 KiB.