Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
doh: respect timeout and restrict debug builds to http and https #4406
doh did not time out properly. This change makes it return early with CURLE_OPERATION_TIMEDOUT.
In debug builds, doh could be configured to use any protocol, which lead to it trying to do doh over pop3 when the http fuzzer was running. It is now restricted to http and https.