| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Double close with SSL
From: Kevin Baughman <curb_pks_at_yahoo.com>
Date: Sat, 17 Oct 2009 13:07:32 -0700 (PDT)
Hi Daniel,
Yes, it happens in NSS only. I just verified that. I built the source and attached a debugger. I think this fixes the problem:
-bash-4.0# diff -c lib/nssorig.c lib/nss.c
if(connssl->handle) {
Later sclose is called in conn_free if it is not set to CURL_SOCKET_BAD:
/* close possibly still open sockets */
I'm trying this now to see if this solved my issue. It did solve the double close with the simple test using the command line.
Thanks!
~Kevin
________________________________
On Thu, 15 Oct 2009, Kevin Baughman wrote:
> curl https://customers.countrywide.com/protected/entry_authenticated.asp
I tried valgrind on this with my curl built with OpenSSL and I get no double close... Can you run your version with valgrind to see if the problem isn't within or perhaps related to NSS?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info