RE: SSL per session memory usage

2005-09-26 Thread Prashant Kumar
Martin,   Just one caution with changing the buffer sizes. During handshake, if the SSL engine gets a certificate chain, you should have space to handle it! If you do the changes I have done you may not even have to worry about changing the buffer sizes.   I use memory BIOS, and the way you free th

Re: SSL per session memory usage

2005-09-26 Thread Prashant Kumar
Martin,   When I was looking at this, I found that the OpenSsl code uses s3->rbuf and s3->wbuf as scratch buffer. So, what I found is that, once the handshake is complete I could free these buffers safely until we have to send/receive any data on that SSL session. I reallocate s3->rbuf and s3->wbuf