Skip to content

docs(daemon): RFC for tokio-based async listener behind async-daemon feature (#1934)#3524

Merged
oferchen merged 1 commit into
masterfrom
docs/daemon-async-listener-rfc-1934
May 1, 2026
Merged

docs(daemon): RFC for tokio-based async listener behind async-daemon feature (#1934)#3524
oferchen merged 1 commit into
masterfrom
docs/daemon-async-listener-rfc-1934

Conversation

@oferchen
Copy link
Copy Markdown
Owner

@oferchen oferchen commented May 1, 2026

Closes #1934.

Summary

Adds docs/audits/daemon-async-listener-rfc.md, a design RFC sketching a feature-gated tokio-based async accept loop for the oc-rsync daemon. The new path lives behind a --features async-daemon Cargo feature on the daemon crate and is off by default.

The RFC complements the existing audit at docs/audits/async-daemon-listener.md; the two are consistent and cross-reference each other.

Test plan

  • No code changes; design RFC only.
  • No em-dashes in prose; uses hyphens per style.
  • Every claim about current oc-rsync code cites crates/<crate>/src/<path>:<line> from files read while drafting.
  • Upstream rsync references cite target/interop/upstream-src/rsync-3.4.1/.
  • File length 799 lines, within the requested 500-800 range.

…feature (#1934)

Adds docs/audits/daemon-async-listener-rfc.md sketching a feature-gated
tokio-based async accept loop for the daemon. The accept loop and
greeting/module-select phase run on the tokio runtime; the transfer
hot path stays synchronous behind a spawn_blocking hand-off, keeping
tokio scoped to the daemon crate per the #1779 / #1818 policy. Design
only - implementation lands in #1935.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 1, 2026
@oferchen oferchen merged commit cb55b55 into master May 1, 2026
12 checks passed
@oferchen oferchen deleted the docs/daemon-async-listener-rfc-1934 branch May 1, 2026 21:07
oferchen added a commit that referenced this pull request May 5, 2026
…feature (#1934) (#3524)

Adds docs/audits/daemon-async-listener-rfc.md sketching a feature-gated
tokio-based async accept loop for the daemon. The accept loop and
greeting/module-select phase run on the tokio runtime; the transfer
hot path stays synchronous behind a spawn_blocking hand-off, keeping
tokio scoped to the daemon crate per the #1779 / #1818 policy. Design
only - implementation lands in #1935.
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