-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
BREAKING CHANGE: Allow for added.f and added6.f to be optional #108
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Cas_ <[email protected]>
actually....
does this matter for us during decoding? I feel like this will break shit downstream because they expect flags, but there are none |
During decoding, no, currently we decode and do nothing with messages that don't have any of It could cause issues downstream if flags are expected to not be undefined, but the BEP states flags are optional, so imo we should treat them as such. We should probably release this as a breaking change if we're worried about this breaking stuff downstream. I'll update the title for now, but we can change it back if we change our minds / disagree about this being a breaking change. |
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[x] Bug fix
[ ] New feature
[ ] Other, please explain:
What changes did you make? (Give an overview)
Which issue (if any) does this pull request address?
#107
Is there anything you'd like reviewers to focus on?
Just compare against the spec I guess:
https://bittorrent.org/beps/bep_0011.html