Skip to content

Advice on using KTLS with splice? #47

@jeromegn

Description

@jeromegn

(Hey there! 👋)

We're looking into using splice for some transfers of IO and I'm wondering if it's possible with this crate.

My concern is that it might buffer some data that's not part of the TLS handshake (as mentioned in the docs for the CorkStream). So if I do want to use splice, should I do the first read / write using userspace copy? If I knew that there was buffered data, I could skip this step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions