ktls icon indicating copy to clipboard operation
ktls copied to clipboard

Advice on using KTLS with `splice`?

Open jeromegn opened this issue 10 months ago • 0 comments

(Hey there! :wave:)

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.

jeromegn avatar Apr 22 '24 01:04 jeromegn