diff options
author | Thomas Grainger <tagrain@gmail.com> | 2023-05-02 04:59:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 03:59:42 +0000 |
commit | 9de0cf20fa0485e327e57cc0864c7476da85cfad (patch) | |
tree | a6f4c32b5d1bebbebecd337b63f4c2c91bea30c2 /Python/getopt.c | |
parent | 690df4c16ca4f0054d27a6148da9e6af809a2658 (diff) | |
download | cpython-9de0cf20fa0485e327e57cc0864c7476da85cfad.tar.gz cpython-9de0cf20fa0485e327e57cc0864c7476da85cfad.zip |
GH-103472: close response in HTTPConnection._tunnel (#103473)
Avoid a potential `ResourceWarning` in `http.client.HTTPConnection`
by closing the proxy / tunnel's CONNECT response explicitly.
---------
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Python/getopt.c')
0 files changed, 0 insertions, 0 deletions