◐ Shell
clean mode source ↗

[3.11] GH-103472: close response in HTTPConnection._tunnel (GH-103473) by miss-islington · Pull Request #104077 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@miss-islington

@miss-islington miss-islington commented

May 2, 2023

edited by bedevere-bot

Loading

Copy link Copy Markdown

Contributor

Avoid a potential ResourceWarning in http.client.HTTPConnection
by closing the proxy / tunnel's CONNECT response explicitly.


(cherry picked from commit 9de0cf2)

Co-authored-by: Thomas Grainger tagrain@gmail.com
Co-authored-by: Gregory P. Smith greg@krypto.org

…03473)

Avoid a potential `ResourceWarning` in `http.client.HTTPConnection`
by closing the proxy / tunnel's CONNECT response explicitly.

---------

(cherry picked from commit 9de0cf2)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>

@gpshead gpshead merged commit 0d40264 into python:3.11

May 2, 2023

@miss-islington miss-islington deleted the backport-9de0cf2-3.11 branch

May 2, 2023 06:48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gpshead gpshead gpshead approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington @gpshead @bedevere-bot @graingert