cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Enabling threaded resolver on Windows

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 12 Nov 2015 16:24:37 -0500

On 11/12/2015 12:20 PM, Ahmed, Najeeb wrote:
> I trying to build curl on Windows to enable threaded resolver but I am not sure how to do it and I couldn't find any info about it on the web. Below is my "nmake" command that I am using, can someone please let me know what needs to be added to this command to enable threaded resolver. I am using Curl version 7.30.0:
>
> nmake /f Makefile.vc mode=dll VC=10 WITH_LIBCOMMONSSL=yes WITH_LIBCOMMONSSL_HEADERS=%LIBCOMMONSSL% LIBCOMMONSSLNAME=%LIBCOMMONSSL_LIB% WITH_LIBCOMMONSSL_LIBS_ACTUALPATH=%LIBCOMMONSSL_BUILDDIR% WITH_LIBBSAFE_HEADERS=%LIBBSAFE%/include ENABLE_WINSSL=no MACHINE=x64 WITH_LIBCOMMONSSLDBG=0

7.30 is over two years old, please consider using the latest version [1]
for security. The threaded resolver is enabled by default for Windows.
If libcurl is built with c-ares or the threaded resolver you should see
AsynchDNS listed in the version features (curl -V). I don't know what
LIBCOMMONSSL is, that doesn't sound familiar to me and I can't find
support for it in either in 7.30 or the latest version. Do you have a
modified makefile from your company? Only WinSSL and OpenSSL are
supported by the VC makefiles. In the latest version there is also
support for wolfSSL (GPL licensed) in the pre-generated VC project
files, dir projects/.

[1]: http://curl.haxx.se/download.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-11-12