]> git.ipfire.org Git - thirdparty/curl.git/commit
curl_trc: remove a bad assertion
authorJay Satiro <raysatiro@yahoo.com>
Fri, 13 Oct 2023 00:50:45 +0000 (20:50 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 14 Oct 2023 07:19:59 +0000 (03:19 -0400)
commitf80ab60c273da1d527279839b9dbdaa1c0ef672b
tree572c235cd00178e905dc3aee278c09cf2e867414
parenta2b4391a1d5709df452dffd000a09f4590e646f5
curl_trc: remove a bad assertion

- Remove DEBUGASSERT that an internal handle must not have user
  private_data set before calling the user's debug callback.

This is a follow-up to 0dc40b2a. The user can distinguish their easy
handle from an internal easy handle by setting CURLOPT_PRIVATE on their
easy handle. I had wrongly assumed that meant the user couldn't then
set CURLOPT_PRIVATE on an internal handle as well.

Bug: https://github.com/curl/curl/pull/12060#issuecomment-1754594697
Reported-by: Daniel Stenberg
Closes https://github.com/curl/curl/pull/12104
lib/curl_trc.c
lib/doh.c