Skip to content

docs(audits): SSH socketpair vs pipe transport feasibility (#1687) - #4193

Merged
oferchen merged 1 commit into
masterfrom
experiment/ssh-socketpair-prototype-1687
May 17, 2026
Merged

oferchen merged 1 commit into
masterfrom
experiment/ssh-socketpair-prototype-1687

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

Files touched

  • docs/audits/ssh-single-socketpair-bidirectional.md (new audit)
  • crates/rsync_io/src/ssh/mod.rs (doc cross-reference, 10 lines)

Test plan

  • CI: fmt + clippy (mod.rs edit only adds doc comments)
  • CI: nextest workspace (no behavioural changes)
  • No interop changes (no wire-format or transport-behaviour changes)

Narrow-scope audit for the single-FD wire variant (one socketpair
shared between the child's fd 0 and fd 1) that #1687 proposes.
Complements ssh-socketpair-vs-pipes.md (#1938), which ruled out the
two-socketpair-per-direction variant. Recommends do-not-implement on
the basis of splice eligibility loss, EOF-propagation regression at
goodbye, no parent-side simplification, no upstream parity, and the
cross-platform asymmetry. Adds a one-line cross-reference in
crates/rsync_io/src/ssh/mod.rs so the disposition is discoverable
from source.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 16, 2026
@oferchen
oferchen merged commit fe734e1 into master May 17, 2026
45 checks passed
@oferchen
oferchen deleted the experiment/ssh-socketpair-prototype-1687 branch May 17, 2026 03:23
oferchen added a commit that referenced this pull request May 18, 2026
…#4193)

Narrow-scope audit for the single-FD wire variant (one socketpair
shared between the child's fd 0 and fd 1) that #1687 proposes.
Complements ssh-socketpair-vs-pipes.md (#1938), which ruled out the
two-socketpair-per-direction variant. Recommends do-not-implement on
the basis of splice eligibility loss, EOF-propagation regression at
goodbye, no parent-side simplification, no upstream parity, and the
cross-platform asymmetry. Adds a one-line cross-reference in
crates/rsync_io/src/ssh/mod.rs so the disposition is discoverable
from source.
oferchen added a commit that referenced this pull request May 18, 2026
…#4193)

Narrow-scope audit for the single-FD wire variant (one socketpair
shared between the child's fd 0 and fd 1) that #1687 proposes.
Complements ssh-socketpair-vs-pipes.md (#1938), which ruled out the
two-socketpair-per-direction variant. Recommends do-not-implement on
the basis of splice eligibility loss, EOF-propagation regression at
goodbye, no parent-side simplification, no upstream parity, and the
cross-platform asymmetry. Adds a one-line cross-reference in
crates/rsync_io/src/ssh/mod.rs so the disposition is discoverable
from source.
oferchen added a commit that referenced this pull request Aug 24, 2026
…#4193)

Narrow-scope audit for the single-FD wire variant (one socketpair
shared between the child's fd 0 and fd 1) that #1687 proposes.
Complements ssh-socketpair-vs-pipes.md (#1938), which ruled out the
two-socketpair-per-direction variant. Recommends do-not-implement on
the basis of splice eligibility loss, EOF-propagation regression at
goodbye, no parent-side simplification, no upstream parity, and the
cross-platform asymmetry. Adds a one-line cross-reference in
crates/rsync_io/src/ssh/mod.rs so the disposition is discoverable
from source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant