cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: an OpenSSL memory leak per-thread

From: Patrick Monnerat <patrick.monnerat_at_dh.com>
Date: Fri, 19 Aug 2016 10:45:27 +0200

On 08/18/2016 11:26 PM, Daniel Stenberg wrote:
>
> Any ideas?
>
> #964 = https://github.com/curl/curl/issues/964
>

Just an immature idea:

I know that, until now, there are no thread-specific calls in the
generic part of libcurl, but maybe we should investigate the use of
http://man7.org/linux/man-pages/man3/pthread_cleanup_push.3.html from
the OpenSSL backend.

See also http://lifecs.likai.org/2010/06/pthread-atexit.html (related).

Patrick

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-08-19