]> git.ipfire.org Git - thirdparty/curl.git/commit
CURLOPT_DEBUGFUNCTION.3: warn about internal handles
authorJay Satiro <raysatiro@yahoo.com>
Thu, 5 Oct 2023 07:19:47 +0000 (03:19 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 8 Oct 2023 04:21:10 +0000 (00:21 -0400)
commit0dc40b2a0fef0287f8cc161290f9f113da84861a
tree9c80e44384b03ebbd184439aec0d630f1ee7cc34
parentcf577bca84f4118e0b884afb4b2b7915f74bed58
CURLOPT_DEBUGFUNCTION.3: warn about internal handles

- Warn that the user's debug callback may be called with the handle
  parameter set to an internal handle.

Without this warning the user may assume that the only handles their
debug callback receives are the easy handles on which they set
CURLOPT_DEBUGFUNCTION.

This is a follow-up to f8cee8cc which changed DoH handles to inherit
the debug callback function set in the user's easy handle. As a result
those handles are now passed to the user's debug callback function.

Closes https://github.com/curl/curl/pull/12034
docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.3
lib/curl_trc.c