]> git.ipfire.org Git - thirdparty/curl.git/commit
easy_getinfo: check magic, Curl_close safety
authorStefan Eissing <stefan@eissing.org>
Wed, 10 Sep 2025 09:33:36 +0000 (11:33 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 10 Sep 2025 10:06:16 +0000 (12:06 +0200)
commit80ac5fb2ec29203fd9d87d705f72e8cd2afee501
tree8f14dc6743ed9e69ba9b59040350dd3934a50d40
parentf4758cd524907a921853c29a575fb78dcf267e54
easy_getinfo: check magic, Curl_close safety

Check the easy handles magic in calls to curl_easy_getinfo().
In Curl_close() clear the magic after DNS shutdown since we'd
like to see tracing for this.
When clearing the magic, also clear the verbose flag so we
no longer call DEBUGFUNCTION on such a handle.

Closes #18511
lib/easy.c
lib/url.c