Hello,
> 1. what make the reference count of ctx increase/decrease?
SSL_new()/SSL_free() for example.

> 2. if i call SSL_CTX_free, does that mean all ssl connections based on this 
> ctx will be closed automatically?
No.

> or i should close all ssl connections based on a ctx before i call 
> SSL_CTX_free?
Yes, you should.

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to