-
Notifications
You must be signed in to change notification settings - Fork 54
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
Implement RFC 8888 Congestion Control Feedback #117
Conversation
38e6c68
to
e75ecca
Compare
Codecov Report
@@ Coverage Diff @@
## master #117 +/- ##
==========================================
- Coverage 76.56% 76.28% -0.28%
==========================================
Files 20 21 +1
Lines 2227 2353 +126
==========================================
+ Hits 1705 1795 +90
- Misses 435 461 +26
- Partials 87 97 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Some of the best Go code I have read in a while :) LGTM! |
for i := uint16(0); i < numReports; i++ { | ||
var mb CCFeedbackMetricBlock | ||
offset := reportsOffset + 2*i | ||
if err := mb.unmarshal(rawPacket[offset : offset+2]); err != nil { |
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.
Is this safe?
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.
It wasn't, thanks! I added another check.
443648c
to
35d9cc1
Compare
Implements Congestion Control Feedback Reports as defined in https://www.rfc-editor.org/rfc/rfc8888.html
35d9cc1
to
680c5bf
Compare
Nice! Excited to use this :) |
Implements Congestion Control Feedback Reports as defined in RFC 8888.