Re: Help: How to build curl library with asyncronous DNS resolver using --enable-threaded-resolver

2012-11-04 Thread Lijo Antony
On 11/02/2012 05:59 PM, siddeshwar wrote: Hi, Is there any sample code for the curl asynch DNS resolution c-ares/ threaded usage? Choice of resolver is transparent to application. You don't need any specific code, just need to build libcurl to use the desired resolver. -lijo

Re: The Most Dangerous Code in the World

2012-11-04 Thread Marc Hoersken
Hi, 2012/11/4 Oscar Koeroo okoe...@nikhef.nl lib/curl_schannel.c VerifyHost is not used I don't think this is correct. Please see line 163. It's RFC2818 compliant out of the box, like NSS. It's the only SSL security opt-out SSL interface I've seen. To switch it off you'll need to set the

Re: The Most Dangerous Code in the World

2012-11-04 Thread Oscar Koeroo
On 04-11-12 09:10, Marc Hoersken wrote: 2012/11/4 Oscar Koeroo okoe...@nikhef.nl lib/curl_schannel.c VerifyHost is not used I don't think this is correct. Please see line 163. You are right! It's indeed used. This is a silly mistake because I'm quoting the section that it uses it in my

Re: The Most Dangerous Code in the World

2012-11-04 Thread Marc Hoersken
Hi, 2012/11/4 Oscar Koeroo okoe...@nikhef.nl: It's RFC2818 compliant out of the box, like NSS. It's the only SSL security opt-out SSL interface I've seen. To switch it off you'll need to set the flag SCH_CRED_NO_SERVERNAME_CHECK according to

Re: The Most Dangerous Code in the World

2012-11-04 Thread Oscar Koeroo
On 04-11-12 11:19, Marc Hoersken wrote: 2012/11/4 Oscar Koeroo okoe...@nikhef.nl: I don't know, I copied this specific check from another curl SSL backend. I've seen the same checks, but different motivations: - Post connection verification based on SubjectAltNames IP instead of DNS;

Crash while using curl_multi_socket_action

2012-11-04 Thread huancong deng
when i init the multi_curl and one easy_curl, i set CURLMOPT_SOCKETFUNCTION,and add easy_curl to the mult_curl, and i call curl_multi_socket_action(multi_handle, CURL_SOCKET_TIMEOUT, 0, still_running) , the program core . why

Re: Crash while using curl_multi_socket_action

2012-11-04 Thread Daniel Stenberg
On Mon, 5 Nov 2012, huancong deng wrote: when i init the multi_curl and one easy_curl, i set CURLMOPT_SOCKETFUNCTION,and add easy_curl to the mult_curl, and i call curl_multi_socket_action(multi_handle, CURL_SOCKET_TIMEOUT, 0, still_running) , the program core . why If you can provide a

Re: The Most Dangerous Code in the World

2012-11-04 Thread Oscar Koeroo
On 04-11-12 03:06, Oscar Koeroo wrote: On 28-10-12 22:25, Oscar Koeroo wrote: [...] Errata 2: about lib/schannel.c If I understand MSDN[1] correctly regarding the CertGetNameString() function, it will only return the first SubjectAltName DNS (or the CN field when no SubjectAltNames are

Re: Help: How to build curl library with asyncronous DNS resolver using --enable-threaded-resolver

2012-11-04 Thread Daniel Stenberg
On Thu, 1 Nov 2012, Daniel Stenberg wrote: Which Linux is this? I'll admit I haven't personally tried the threaded resolver in a while... I tried it now. Works just fine for me. -- / daniel.haxx.se --- List admin:

Build broken when not building with HAVE_KRB4 or HAVE_GSSAPI

2012-11-04 Thread Nick Zitzmann
I got this when I tried building the latest code: ftp.c: In function 'ftp_readresp': ftp.c:677: error: 'data' undeclared (first use in this function) ftp.c:677: error: (Each undeclared identifier is reported only once ftp.c:677: error: for each function it appears in.) make[2]: ***

Re: using multi_interface with c-ares, i need to do what??

2012-11-04 Thread Lijo Antony
On 11/05/2012 10:30 AM, huancong deng wrote: 1.I had build c-ares and rebuild libcurl, and it worked. 2.i meet something odd. // i write a cpp , you can build it using: build:g++ -g -Wall -o get

one progress only on multi_handle?

2012-11-04 Thread huancong deng
in one progress , can i have two or more multi_handle --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html