U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » WebSSL memory leak problem.
Re: WebSSL memory leak problem. [message #26629 is a reply to message #26619] Mon, 17 May 2010 14:11 Go to previous messageGo to previous message
phirox is currently offline  phirox
Messages: 49
Registered: December 2007
Member
I've posted about the WebSSL memory leak before. In short, it is this line:
CRYPTO_set_mem_functions(SSLAlloc, SSLRealloc, SSLFree);

If you comment it out there shouldn't be a memory leak warning anymore, even though it is actually still there.

For a permanent fix, all the correct openssl unload functions should be called. I will check it out myself later, but for those in a hurry; see http://www.openssl.org/support/faq.html#PROG13 for more information.

Edit: After reviewing the code, Ultimate++ actually unloads exactly according to documentation. The memory leak is 'known' and unfixed by the OpenSSL library itself, the above workaround is still the best patch IMHO.

[Updated on: Tue, 18 May 2010 14:42]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CoWork tidy up
Next Topic: SSL patch
Goto Forum:
  


Current Time: Mon May 11 11:30:04 GMT+2 2026

Total time taken to generate the page: 0.00669 seconds