]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-154366: Fix test_asyncio.test_sendfile timing out on DragonFly BSD (GH... 3.14
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 Jul 2026 15:31:47 +0000 (17:31 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Jul 2026 15:31:47 +0000 (15:31 +0000)
commit1f0cbea50b3eb1d57ea2328ed1101c4ec82c1f9e
tree98496472fee74d37f4e83248d8eb0710185d1be5
parent5f05d2f67974ba424d7650823e7df06f90e54645
[3.14] gh-154366: Fix test_asyncio.test_sendfile timing out on DragonFly BSD (GH-154367) (GH-154372)

A 4 KiB receive buffer makes DragonFly defer every window update to the
delayed ACK timer, so each buffer worth of data costs 100 ms.  Use a
larger socket buffer there; it is still small enough to pause the
protocol long before all data is sent.
(cherry picked from commit a6e1b836ec5055cbc8be477ca0c2df0cc12b8cb5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_asyncio/test_sendfile.py