[squid-dev] Security::SessionPointer and Security::LockingPointer

Christos Tsantilas christos at chtsanti.net
Tue Feb 9 16:53:19 UTC 2016


Hi all,

The short question:
The Security::SessionPointer is a TidyPointer. Is it acceptable to 
convert it to a LockingPointer?

My sense is that the GnuTLS does not support locking pointers?
However I have an idea about how we can add locking support for 
gnutls_session_t if required.

   The Security::SessionPointer is the old Ssl::SSL_Pointer and used to 
be a TidiPointer.
However while fixing the memory leak bug reported and analysed under the 
"[squid-dev] NotePairs, SSL and Cert Validation memory leaks" mail 
thread, I made a patch which converted this pointer to a LockingPointer.

If we can not convert it to locking pointer I need to reimplement the 
patch. However using a locking pointer for SSL may help us in many other 
cases too.




More information about the squid-dev mailing list