[swift-server-dev] Draft proposal for TLS Service APIs (please review)

Gelareh Taban gtaban at us.ibm.com
Thu Mar 30 09:49:11 CDT 2017


> > Like the followings:
> > func tlsWrite(buffer: Collection<UInt8>) throws
> > func tlsWritev(vectors: Collection<iovec>)
> >
> > If it is possible it will be very helpful since
> > 1) it is very swifty and user friendly
> > 2) vectorIO could significantly reduce the overhead to merge fragments
of bytes into a single buffer.
>
> +1 on vectors.
>

+1 on need to make it more Swifty.

What is the advantage of using vectored IO for TLS service?
I am not sure if TLS would support processing of gathered multiple input
buffers.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-server-dev/attachments/20170330/adce01d2/attachment.html>


More information about the swift-server-dev mailing list