I have suspicions curl’s AsynchDNS is causing me problems, and I’d like to turn it off, but I can’t seem to find any clear method of doing that. Is there a php.ini setting I can use to disable it? If so, what is it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Turns out you can’t just disable it, it is a build-time option so you have to rebuild libcurl from the source code.
I tried replacing OS X Lion’s built in libcurl library with no success, and eventually worked around the problem without disabling AsynchDNS.