aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/getopt.c
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2023-05-02 04:59:42 +0100
committerGitHub <noreply@github.com>2023-05-02 03:59:42 +0000
commit9de0cf20fa0485e327e57cc0864c7476da85cfad (patch)
treea6f4c32b5d1bebbebecd337b63f4c2c91bea30c2 /Python/getopt.c
parent690df4c16ca4f0054d27a6148da9e6af809a2658 (diff)
downloadcpython-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