GH-103472: close response in HTTPConnection._tunnel by graingert · Pull Request #103473 · python/cpython
graingert
marked this pull request as ready for review
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
gpshead added a commit that referenced this pull request
#104077) GH-103472: close response in HTTPConnection._tunnel (GH-103473) 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>
graingert
deleted the
close-response-in-http-client-tunnel
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters