synchronous i/o code inside of curl_easy_init() using c-ares

2018-02-02 Thread Василий Куликов
Hi! We use libcurl in a project to handle >10K HTTP requests/second using multi interface via curl-asio C++ wrapper (https://github.com/mologie/curl-asio). If default threaded DNS resolver is used, curl_easy_init() is very fast; however, if I switch to c-ares, curl_easy_init() stucks in reading

NTLM v2 Authentication with 7.58.0

2018-02-02 Thread Paul D Rotter
Hello, Platform: Windows (Server 2008, 2012, 2016) Tool Chain: Visual Studio 2005 I recently upgraded our product to use libCurl version from 7.52.1 to 7.58.0 and during testing noticed that our NTLM authentication was broken. After reviewing the source changes I found a change that seems to

Re: Building libcurl 7.57 on Windows

2018-02-02 Thread Alex Chen
I tried the following approaches and none of them worked. (The OpenSSL and Zlib libraries are located under \Prebiuilt\[Debug | Release] ) Set the ZLIB_LIBS environment variable SET ZLIB_LIBS=zlibwapi.lib NMAKE /E /F Makefile.vc VC=14 WITH_SSL=dll WITH_ZLIB=dll ENABLE_IPV6=yes GEN_PDB=yes MODE=

Re: Building libcurl 7.57 on Windows

2018-02-02 Thread Alex Chen
Those unresolved symbol errors come from content_encoding.c. They are referenced in older versions, e.g. 7.51.0, where they linked with the same zlibwapi without problems. Alex Chen From: curl-library on behalf of Alex Chen Reply-To: libcurl development Date: Friday, February 2, 2018 at

Re: Building libcurl 7.57 on Windows

2018-02-02 Thread Ray Satiro
On 2/2/2018 3:03 PM, Alex Chen wrote: > > version.obj : error LNK2019: unresolved external symbol _zlibVersion > referenced in function _curl_version > > content_encoding.obj : error LNK2001: unresolved external symbol > _zlibVersion > > content_encoding.obj : error LNK2019: unresolved external sym