rustls / rustls/ktls

Advice on using KTLS with `splice`?

Open
#47 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
98
Forks
17
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified. Start by reading the CorkStream documentation and tracing the KTLS and splice usage discussed in the issue; done means establishing and documenting whether the first transfer requires a userspace copy or can safely use splice.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
networking, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.