Skip to content

Expose RemoteProtocolAdvertisement clamp flag across transport handshakes - #663

Merged
oferchen merged 1 commit into
masterfrom
create-production-scope-document-for-rsync
Oct 19, 2025
Merged

oferchen merged 1 commit into
masterfrom
create-production-scope-document-for-rsync

Conversation

@oferchen

@oferchen oferchen commented Oct 19, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • add RemoteProtocolAdvertisement::was_clamped so transports can query clamp status without reimplementing the classification
  • update the binary and legacy handshake wrappers to reuse the shared helper when reporting whether a peer advertised a future protocol
  • extend the unit and property tests to exercise the new API and const-evaluable paths

Testing

  • cargo test

@oferchen
oferchen merged commit 5a3828e into master Oct 19, 2025
@oferchen
oferchen deleted the create-production-scope-document-for-rsync branch October 19, 2025 14:45
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