cURL / Mailing Lists / curl-library / Single Mail


Re: Connection related memory leaks [Was: Calling sslctxfun when shutting down an SSL connection]

From: Shmulik Regev <>
Date: Mon, 19 Feb 2007 13:48:50 +0200

> This does indeed seem like the correct thing to do, and all tests work
> for me with this applied. Have you noticed any downsides with doing this?

No problems for me (and I use a LOT of HTTPS) and the leaks are also gone.
Note that the code in Curl_disconnect might contain other loose ends (NTLM,
pipes ?) that are not properly freed when a connection is reused. I can't
test it as my environment doesn't use these features.

Received on 2007-02-19