Skip to content

doh handle does not inherit opensocket function #7441

Closed
@dwwoelfel

Description

@dwwoelfel

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions