]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6...
authorXi Ruoyao <xry111@xry111.site>
Fri, 7 Jun 2024 15:51:32 +0000 (23:51 +0800)
committerGitHub <noreply@github.com>
Fri, 7 Jun 2024 15:51:32 +0000 (08:51 -0700)
commita7584245661102a5768c643fbd7db8395fd3c90e
tree6ce4b9b320067e08d84b6a73e570e917308add3d
parent10fb1b8f36ab2fc3d2fe7392d5735dd19c5e2365
gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6.10 (#120227)

The worst case is that the kernel buffers 17 pages with a page size of 64k.
Lib/test/test_asyncio/test_sendfile.py