]> git.ipfire.org Git - thirdparty/curl.git/commit
multi: shut down CONNECT in Curl_detach_connnection
authorDaniel Stenberg <daniel@haxx.se>
Wed, 10 Nov 2021 13:42:04 +0000 (14:42 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Nov 2021 07:42:31 +0000 (08:42 +0100)
commitf0b7099a10d1a7cfbbe8f67b0ecdff5846f9805b
tree28e8247294aebbf19c44d4bcf1cdb504479742f1
parent11a46d6d66c32e4be7015aca92008d979f8b90a2
multi: shut down CONNECT in Curl_detach_connnection

... to prevent a lingering pointer that would lead to a double-free.

Added test 1939 to verify.

Reported-by: Stephen M. Coakley
Fixes #7982
Closes #7986
lib/http_proxy.c
lib/multi.c
tests/data/Makefile.inc
tests/data/test1939 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1939.c [new file with mode: 0644]