Skip to content

[3.13] gh-154366: Fix test_asyncio.test_sendfile timing out on DragonFly BSD (GH-154367)#154373

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-a6e1b83-3.13
Jul 21, 2026
Merged

[3.13] gh-154366: Fix test_asyncio.test_sendfile timing out on DragonFly BSD (GH-154367)#154373
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-a6e1b83-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

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 a6e1b83)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 4.8 noreply@anthropic.com

…ly BSD (pythonGH-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.
(cherry picked from commit a6e1b83)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Jul 21, 2026
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) July 21, 2026 15:11
@serhiy-storchaka
serhiy-storchaka merged commit 621e1bb into python:3.13 Jul 21, 2026
42 checks passed
@miss-islington
miss-islington deleted the backport-a6e1b83-3.13 branch July 21, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants