]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-154366: Fix test_asyncio.test_sendfile timing out on DragonFly BSD (GH-154367)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 21 Jul 2026 15:03:20 +0000 (18:03 +0300)
committerGitHub <noreply@github.com>
Tue, 21 Jul 2026 15:03:20 +0000 (15:03 +0000)
commita6e1b836ec5055cbc8be477ca0c2df0cc12b8cb5
tree26e121857db1ad4cf14c0e1d0a37bcfa35989c1a
parentbfd774d61eeb384b74380deb1fc5b726decba75e
gh-154366: Fix test_asyncio.test_sendfile timing out on DragonFly BSD (GH-154367)

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.

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