> Is it possible to do gather writes with OpenSSL?  For example, instead of
SSL_write(),
> is there something like SSL_writev()?

        No. If you're going to use SSL_write, you should gather the data into your
own buffer first.

> When doing SSL_read(), the bytes read have already been unencrypted.
> Is there a way to figure out how much data was read before decrypting?
> Similarly, is there a way to figure out how much data is written out
> with SSL_write() after encrypting?  I want to keep track of bytes
> being transferred over the wire, but the numbers I have now are
> pre-encryption and post-decryption so it is not an accurate number.

        Use bio pairs and do the network I/O yourself. You can then keep track of
the number of bytes sent and received.

> Has anybody used OpenSSL on Windows, but with Windows native Async I/O?

        Definitely.

> I'm currently using SSL_read() and SSL_write(),
> so I can't take advantage of true async i/o.

        Shame on you. ;)

> Instead, I've created my own by using my own thread pool
> and select.  But I'd like to use native async i/o cuz
> it's much faster.

        Again, bio pairs.

        DS


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

Reply via email to