Skip to content

Add server invocation parsing scaffolding - #2208

Merged
oferchen merged 2 commits into
masterfrom
implement-fully-rust-native-rsync-server
Nov 22, 2025
Merged

oferchen merged 2 commits into
masterfrom
implement-fully-rust-native-rsync-server

Conversation

@oferchen

@oferchen oferchen commented Nov 22, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • add a core::server module with role and configuration helpers for server invocations
  • parse --server argv into structured state before dispatching to the fallback binary
  • extend server frontend tests to cover invocation parsing and flag string validation

Testing

  • cargo fmt
  • cargo test -p cli server_invocation_parses_flag_string_and_placeholder -- --nocapture (hangs in vendor OpenSSL build; interrupted)

[Codex Task](

@oferchen
oferchen merged commit b8b5abc into master Nov 22, 2025
@oferchen
oferchen deleted the implement-fully-rust-native-rsync-server branch November 22, 2025 19:53
oferchen added a commit that referenced this pull request May 17, 2026
Analyse whether the io_uring READ_FIXED path can hand consumers a borrowed
slice into the registered buffer instead of copying into a heap Vec.
Concludes that the lifetime contract is too brittle to expose safely and
recommends keeping the current copy, with Arc<[u8]> indirection as the
fallback if benchmarks ever justify the change.
oferchen added a commit that referenced this pull request May 18, 2026
Analyse whether the io_uring READ_FIXED path can hand consumers a borrowed
slice into the registered buffer instead of copying into a heap Vec.
Concludes that the lifetime contract is too brittle to expose safely and
recommends keeping the current copy, with Arc<[u8]> indirection as the
fallback if benchmarks ever justify the change.
oferchen added a commit that referenced this pull request May 18, 2026
Analyse whether the io_uring READ_FIXED path can hand consumers a borrowed
slice into the registered buffer instead of copying into a heap Vec.
Concludes that the lifetime contract is too brittle to expose safely and
recommends keeping the current copy, with Arc<[u8]> indirection as the
fallback if benchmarks ever justify the change.
oferchen added a commit that referenced this pull request Aug 24, 2026
Analyse whether the io_uring READ_FIXED path can hand consumers a borrowed
slice into the registered buffer instead of copying into a heap Vec.
Concludes that the lifetime contract is too brittle to expose safely and
recommends keeping the current copy, with Arc<[u8]> indirection as the
fallback if benchmarks ever justify the change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant