Skip to content

[3.14] gh-160520: Apply asyncio ssl_shutdown_timeout after peer EOF (GH-160521) - #160640

Merged
gpshead merged 1 commit into
python:3.14from
miss-islington:backport-ffe1315-3.14
Oct 25, 2026
Merged

gpshead merged 1 commit into
python:3.14from
miss-islington:backport-ffe1315-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Keep the SSL shutdown timer running until connection_lost(), and start
it when the peer shuts down first, so that a peer which sends EOF but
does not read cannot keep a closed transport open indefinitely.

ANT-2026-81HUBBJ7
(cherry picked from commit ffe1315)

Co-authored-by: Gregory P. Smith 68491+gpshead@users.noreply.github.com

…ythonGH-160521)

Keep the SSL shutdown timer running until connection_lost(), and start
it when the peer shuts down first, so that a peer which sends EOF but
does not read cannot keep a closed transport open indefinitely.

ANT-2026-81HUBBJ7
(cherry picked from commit ffe1315)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
@bedevere-app bedevere-app Bot added the sprint label Oct 25, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Sprint Oct 25, 2026
@gpshead gpshead self-assigned this Oct 25, 2026
@gpshead gpshead removed the sprint label Oct 25, 2026
@gpshead gpshead removed this from Sprint Oct 25, 2026
@gpshead
gpshead enabled auto-merge (squash) October 25, 2026 05:55
@gpshead
gpshead merged commit ce48e3f into python:3.14 Oct 25, 2026
55 checks passed
@miss-islington
miss-islington deleted the backport-ffe1315-3.14 branch October 25, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants