ktls
ktls copied to clipboard
Advice on using KTLS with `splice`?
(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.