Hi Daniel,
Yesterday I tested with Curl 7.21.0 and found working with this version.
But I need this to work on 7.20.1.
Now coming to your question:
>Your program only sits waiting in a select() and
>calls libcurl every now and then and it never receives anything more?
Yes, once the select call returns, I try to do the curl_multi_perform, but
seems nothing happening.
Looks like curl is waiting to parse/validate the server certificate provided, I
infer this because
it gets stuck at
* SSL connection using RC4-MD5
But the next prints expected are...
* Server certificate:
* subject: XXX
* start date: 2009-11-25 00:00:00 GMT
* expire date: 2011-12-07 23:59:59 GMT
* common name: XXX(matched)
* issuer: XXX
* SSL certificate verify ok.
Please not that this same source code works when it is linked with the libcurl
7.21.0 version and I get all the sequence correct and even data is returned to
me.
We need to find why this is not working in 7.20.1. You can easily test this
with the example code from fopen.c and adding these lines at the url_open call.
curl_easy_setopt(file->curl,CURLOPT_SSLCERTTYPE,"PEM");
curl_easy_setopt(file->curl,CURLOPT_SSLCERT,"/SomePathtoPEM/A.cert.pem");
curl_easy_setopt(file->curl,CURLOPT_SSLKEYTYPE,"PEM");
curl_easy_setopt(file->curl,CURLOPT_SSLKEY,"/SomePathtoPEM/A.key.pem");
Thanks for your support.
Regards
Raghu
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Daniel Stenberg
Sent: 2010 Jul 15 10:41 PM
To: libcurl development
Subject: Re: FW: Issue with curl_multi + SSL connection
On Thu, 15 Jul 2010, Raghavendra Prasad Bilamkar wrote:
> Can we use the curl_mutli with SSL options?
Yes
> Is this supported
Yes
> or SSL curl needs to be used only with the curl_easy
No
So what exactly is happening? Your program only sits waiting in a select() and
calls libcurl every now and then and it never receives anything more? Does
wireshark or a similar tool show any traffic after the CONNECT response?
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html