Skip to content

[3.11] gh-160369: Discard cached responses after IMAP STARTTLS (GH-160370) - #161757

Open
JelleZijlstra wants to merge 1 commit into
python:3.11from
JelleZijlstra:codex/backport-160370-3.11
Open

JelleZijlstra wants to merge 1 commit into
python:3.11from
JelleZijlstra:codex/backport-160370-3.11

Conversation

@JelleZijlstra

@JelleZijlstra JelleZijlstra commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Backport of gh-160370 to 3.11.

Clear cached untagged responses when upgrading to TLS. This branch uses a buffered file that is replaced during STARTTLS, so the main-branch _readbuf check does not apply. Preserve the STARTTLS integration coverage and adjust the NEWS entry accordingly.

…n#160370)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit 2f0e294)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant