Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advice on using KTLS with splice? #47

Open
jeromegn opened this issue Apr 22, 2024 · 0 comments
Open

Advice on using KTLS with splice? #47

jeromegn opened this issue Apr 22, 2024 · 0 comments

Comments

@jeromegn
Copy link
Contributor

(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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant