Hi ,
Steve mentioned that the size of the memory BIO can grow indefinitely
until memory allocations fail. I assume what he is referring to is that
when BIO_write is called a reallocation is done if the data to be
written is more than the current size of the BIO buffer.
It needs documenting alright. Also it would be great if calling
SSL_clear also de-allocates the BIO buffer. I re-use SSL structures
across connections, so I call SSL_free only when my server exits.
I haven't looked at the code for SSL_clear. Maybe it already does such
a thing.
Regards,
Amit.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]