Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wire: Lower MaxUserAgentLen to 256. #633

Merged
merged 2 commits into from Mar 18, 2017

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Mar 17, 2017

Upstream commit 763f731.

This updates wire to enforce a limit of 256 instead of the existing 2000 to coincide with the upstream btcd project, and consequently includes a wire version bump to 0.2.1 in the merge commit.

The protocol was silently upgrade in Core some time ago to enforce a
limit of 256 for the user agent in version messages.  This updates wire
to coincide with that change and consequently includes a wire version
bump to 0.4.1.
Copy link
Member

@jrick jrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems fine to me

Upstream commit 763f731.

This updates wire to enforce a limit of 256 instead of the existing 2000
to coincide with the upstream btcd project, and consequently includes a
wire version bump to 0.2.1 in the merge commit.
@davecgh davecgh merged commit 83c65fe into decred:master Mar 18, 2017
@davecgh davecgh deleted the wire_lower_max_ua_len branch March 18, 2017 06:21
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.

None yet

2 participants