Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doh handle does not inherit opensocket function #7441

Closed
dwwoelfel opened this issue Jul 19, 2021 · 0 comments
Closed

doh handle does not inherit opensocket function #7441

dwwoelfel opened this issue Jul 19, 2021 · 0 comments

Comments

@dwwoelfel
Copy link

@dwwoelfel dwwoelfel commented Jul 19, 2021

I did this

I created an easy handle, set CURLOPT_DOH_URL, CURLOPT_OPENSOCKETFUNCTION, then added the handle to a multi interface.

I expected the following

I expected every curl_socket_t that was passed to my CURLMOPT_SOCKETFUNCTION callback would have been created by me in the CURLOPT_OPENSOCKETFUNCTION callback, but the special easy handles created for DoH were not created with my callback.

curl/libcurl version

7.64

@dwwoelfel dwwoelfel closed this Jul 19, 2021
@dwwoelfel dwwoelfel reopened this Jul 19, 2021
bagder added a commit that referenced this issue Jul 28, 2021
Reported-by: Daniel Woelfel
Fixes #7441
@bagder bagder closed this in 21e0903 Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants