cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Double close with SSL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 18 Oct 2009 19:20:25 +0200 (CEST)

On Sun, 18 Oct 2009, Guenter wrote:

>> I've just now committed your patch to CVS.

> since then now 17 tests fail - formerly it were ony 3 because of cert
> issues; so +14 more :) - see autobuilds ...

Ouch. But isn't this because of the layering problem I mentioned? The curl
memory debug system sees no socket close but it did track the socket cretion
so thus it thinks this is a socket leak, but in reality NSS has closed it...

The only decent fix for this false positive - I think - is to make some kind
of fake call to the socket close for the sake of the memory debugging.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-18