[swift-server-dev] Draft proposal for TLS ServiceAPIs(pleasereview)

Gelareh Taban gtaban at us.ibm.com
Fri Mar 31 12:16:07 CDT 2017


> > Furthermore, if not all underyling TLS libraries support vectored IO,
then having that
> > as input to onReceive/onSend doesn't make sense.
>
> This I can’t follow. If OpenSSL supports this, it is absolutely worth
supporting that in the API?
> OpenSSL will almost always be in use in server deployments -
> if that gets faster it matters a lot?

Fair point.

My suggestion is maybe we can overload the onReceive/onSend functions so
that they can receive both Data and iov.
That way we can start with the simple (known) implementation of Data and
then iterate over the protocol with support for iov.

Thoughts?







From:	Helge Heß via swift-server-dev <swift-server-dev at swift.org>
To:	swift-server-dev <swift-server-dev at swift.org>
Date:	03/31/2017 10:19 AM
Subject:	Re: [swift-server-dev] Draft proposal for TLS Service	APIs
            (pleasereview)
Sent by:	swift-server-dev-bounces at swift.org



On 31 Mar 2017, at 16:55, Gelareh Taban <gtaban at us.ibm.com> wrote:
> Furthermore, if not all underyling TLS libraries support vectored IO,
then having that as input to onReceive/onSend doesn't make sense.

This I can’t follow. If OpenSSL supports this, it is absolutely worth
supporting that in the API? OpenSSL will almost always be in use in server
deployments - if that gets faster it matters a lot?

For SecureTransport you would just need to merge the buffers before handing
them over. That is the same you expect from your API consumer today.

hh

[attachment "signature.asc" deleted by Gelareh Taban/Austin/IBM]
_______________________________________________
swift-server-dev mailing list
swift-server-dev at swift.org
https://lists.swift.org/mailman/listinfo/swift-server-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-server-dev/attachments/20170331/6905a63c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-server-dev/attachments/20170331/6905a63c/attachment.gif>


More information about the swift-server-dev mailing list