I've seen Tony Rogvall's post on this topic from a few months ago,

  http://marc.theaimsgroup.com/?l=openssl-users&w=2&r=1&s=writev&q=b

and I'd like to raise it again.

I have excactly Tonys problem: I want to be able to accumulate several
independent buffers worth of write data, HTTP headers and one or more
buffers worth of payload (multiple payload buffers are especially
likely in conjunction with HTTP/1.1 chunked transfer encoding), and
write them out to be sent as a single SSL record _without_ there
needing to be a copy to an intermediate buffer. I understand that
the performance tradeoffs are different with SSL/TLS vs. plain TCP,
but I still think this would be likely to be a win performance-wise.

I have a vague idea that something like this can be done using
BIO_nwrite(), but an SSL_writev() would certainly be a useful
addition.

Thoughts?

Cheers,


Miles

-- 
Miles Sabin                                     InterX
Internet Systems Architect                      27 Great West Road
+44 (0)20 8817 4030                             Middx, TW8 9AS, UK
[EMAIL PROTECTED]                               http://www.interx.com/

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

Reply via email to