Skip to content

Record remote advertisements for binary negotiations - #365

Merged
oferchen merged 1 commit into
masterfrom
ensure-functional-parity-with-rsync-3.4.1
Oct 17, 2025
Merged

oferchen merged 1 commit into
masterfrom
ensure-functional-parity-with-rsync-3.4.1

Conversation

@oferchen

@oferchen oferchen commented Oct 17, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • capture the raw remote advertisement in BinaryHandshake and expose helpers to detect when a peer was clamped to the supported range
  • propagate the advertisement metadata through SessionHandshake and SessionHandshakeParts so callers can inspect it regardless of transport style
  • extend transport tests to cover future-version clamping scenarios for both binary and legacy sessions

Testing

  • cargo test -p rsync-transport

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