]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Sep 2024 11:14:03 +0000 (13:14 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Sep 2024 11:14:03 +0000 (13:14 +0200)
commit14a899f6f0df3b0f3d5331e8f7426ec4bfe91a63
treeded6d73342be4264dc1db096667aa80d7f5dab0b
parent7e8883a3f04d308302361aeffc73e0e9837f19d4
[3.13] gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6.10 (GH-120227) (#123421)

gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6.10 (GH-120227)

The worst case is that the kernel buffers 17 pages with a page size of 64k.
(cherry picked from commit a7584245661102a5768c643fbd7db8395fd3c90e)

Co-authored-by: Xi Ruoyao <xry111@xry111.site>
Lib/test/test_asyncio/test_sendfile.py