]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 28 Aug 2024 12:47:41 +0000 (14:47 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Aug 2024 12:47:41 +0000 (12:47 +0000)
commitccc6c2b8c0180581cd4e06523d1a38bcc27c6855
tree27f84a1d3d549b8cf79e3c0a5bd10b4d5ab04367
parent248af25fb4b27e2bcde82878f8d6210565a2cd76
[3.12] gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6.10 (GH-120227) (#123422)

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