Skip to content

xftp: ignore trailing handshake bytes for forward compatibility - #1852

Open
ed-asriyan wants to merge 1 commit into
masterfrom
xftp-handshaketail
Open

xftp: ignore trailing handshake bytes for forward compatibility#1852
ed-asriyan wants to merge 1 commit into
masterfrom
xftp-handshaketail

Conversation

@ed-asriyan

Copy link
Copy Markdown
Member

Makes the XFTP handshake ignore trailing bytes (how the SMP handshake already behaves). This makes it easy to add new fields to handshake messages in future protocol versions: older peers will parse the fields they know and ignore the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant