-
Couldn't load subscription status.
- Fork 86
Update packet to RFC 9260 #407
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
base: master
Are you sure you want to change the base?
Conversation
2fd889e to
46720cf
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #407 +/- ##
==========================================
+ Coverage 81.77% 82.10% +0.32%
==========================================
Files 51 51
Lines 4522 4520 -2
==========================================
+ Hits 3698 3711 +13
+ Misses 680 666 -14
+ Partials 144 143 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
2ea6476 to
121a82f
Compare
packet.go
Outdated
| for _, c := range p.chunks { | ||
| switch c.(type) { | ||
| case *chunkInit, *chunkCookieEcho: | ||
| doChecksum = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure about having state / side effect in marshal is this necessary to do here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this, I was messing with some variable names and accidentally left this in. I changed it to use a helper so it's a little more straightforward (and it avoids manipulating the input).
121a82f to
91865dc
Compare
91865dc to
561cd4a
Compare
Description
Note: The chunk test is modified since it uses packets, which has changed.
Reference issue
A part of #402. Split from #406.