RE: Reference Counter for SSL

2006-12-22 Thread David Schwartz
> Hi Marek Marcola > > I do the following: > 1. Create ctx > 2. Create ssl= new (ctx,...) > 3. printf ( " Number of ssl %d", ctx->references) > > Step 3 show me 2 instead of 1 ( I only have one socket ssl with ctx). > Why ?? Please kindly help me. Your question is baffling to me. How could it pos

RE: Reference Counter for SSL

2006-12-21 Thread Marek Marcola
Hello, > I do the following: > 1. Create ctx > 2. Create ssl= new (ctx,...) > 3. printf ( " Number of ssl %d", ctx->references) > > Step 3 show me 2 instead of 1 ( I only have one socket ssl with ctx). > Why ?? Please kindly help me. Because when SSL_CTX object is created this variable is set ini

RE: Reference Counter for SSL

2006-12-21 Thread Dinh, Thao V CIV NSWCDD, K72
AIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marek Marcola Sent: Thursday, December 21, 2006 14:52 To: openssl-users@openssl.org Subject: Re: Reference Counter for SSL Hello, > I have one context (ctx). I create many SSL from this context, each > will be in separated thread. Do SSL

Re: Reference Counter for SSL

2006-12-21 Thread Marek Marcola
Hello, > I have one context (ctx). I create many SSL from this context, each > will be in separated thread. Do SSL have any counter to keep up with > how many SSL at any time ?? What is the name of this function ??? > Please help ctx->references Best regards, -- Marek Marcola <[EMAIL PROTECTED]>