dear all:

i have a ssl server running in an embedded system on top of vxworks operating 
system. the ssl server is based on teamf1's ssecure lib (this lib, of course, 
is based on openssl, i believe is 0.9.7). i was using a linux machine as ssl 
client to connect to my ssl server and close the connection right away. after 
each connect/close, i then use vxworks command "memPartShow" to check the mem 
partition "cryptoMemPartId", it appears that i lost exactly 400bytes per 
connection/close (because the alloced mem from this cmd increase exactly 400 
bytes every connect/close). eventually, the system will give me "memPartAlloc: 
block too big" error. after the error, i cannot setup an ssl connection with 
the server anymore. 
in my code, to close a ssl connection, i made three calls (in this sequence):
        SSL_shutdown(ssl); 
        SSL_free(ssl);
        close(socket);
i used to think this may related to the session cache, but after i read the 
document and check my code carefully, i do not enable session cache 
specifically (i believe it should be disabled by default). even if i use 
"SSL_CTX_set_timeout(ctx, 1);" to set the ctx timeout to 1 sec right after the 
ctx is created, i still have this problem.
do i miss anything here? does anybody here have anu idea what is going on? 
thanks in advance.
chong peng

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

Reply via email to