cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cURL crashes after certificate mismatch

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 9 Dec 2003 12:36:47 +0100 (CET)

On Tue, 9 Dec 2003, Andreas Rieke wrote:

> However, since other connection problems are quite normal in TCP/IP
> networks, my application tries to connect for a second time. I can see that
> the line before calling curl_easy_perform for the second time is executed,
> but curl_easy_perform seems to crash since the line after it is not executed
> and the process does no longer exist.

There was a free-twice problem when a certficiate check failed in the 7.10.8
code, which was fixed with this patch:

   http://cvs.php.net/diff.php/curl/lib/ssluse.c?r1=1.84&r2=1.85&ty=u

It might be what you're suffering from.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-09