diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-05-02 06:48:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 06:48:07 (GMT) |
commit | 0d4026432591d43185568dd31cef6a034c4b9261 (patch) | |
tree | dad2f5635285229b3bf9a3fdc4125e37741fb107 /Include/bltinmodule.h | |
parent | b07bae6971c3772c3d376813cdbbe4e719d4d322 (diff) | |
download | cpython-0d4026432591d43185568dd31cef6a034c4b9261.zip cpython-0d4026432591d43185568dd31cef6a034c4b9261.tar.gz cpython-0d4026432591d43185568dd31cef6a034c4b9261.tar.bz2 |
[3.11] GH-103472: close response in HTTPConnection._tunnel (GH-103473) (#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 9de0cf20fa0485e327e57cc0864c7476da85cfad)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Include/bltinmodule.h')
0 files changed, 0 insertions, 0 deletions