On Mon, May 31, 1999 at 05:11:34PM +1000, Ron Ramsay wrote:

> Yes, SSL_read() may only return one record. But the underlying recv()
> could have read 64K bytes (but I guess from what you have written that
> it would never read more than 16K). Further SSL_read()s would access the
> data previously recv()d.
> 
> The fewer times recv() is called (for the same amount of data), the
> faster the application.

I don't think this is relevant (while it surely is for SSL_write,
where it directly influences network data flow).  The TCP
implementation doesn't have much to do for recv(); but if we try to
recv() more data than we actually need, we have to maintain large
buffers and either end up copying around data more often than
necessary or need more complicated data structures to handle the data
in place.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to