-
Notifications
You must be signed in to change notification settings - Fork 160
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
Retransmit last flight when in finished #646
Conversation
@hasheddan @at-wat Looking at the spec I believe
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #646 +/- ##
==========================================
- Coverage 80.12% 80.08% -0.04%
==========================================
Files 101 101
Lines 5353 5328 -25
==========================================
- Hits 4289 4267 -22
- Misses 687 690 +3
+ Partials 377 371 -6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
When FSM is in finished and sees a handshake message re-send the last flight again.
d1b179a
to
f356763
Compare
@at-wat @hasheddan I’m gonna merge these tonight! I believe they will have zero impact |
// there should be no `Finished` last retransmit from client | ||
if cntClientFinishedLastRetransmit != 0 { | ||
t.Errorf("Number of client finished last retransmit is wrong, expected: %d times, got: %d times", 0, cntClientFinishedLastRetransmit) | ||
if cntClientFinishedLastRetransmit != 4 { | ||
t.Errorf("Number of client finished last retransmit is wrong, expected: %d times, got: %d times", 4, cntClientFinishedLastRetransmit) |
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 it expected?
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.
@at-wat sorry I messed up, I merged the other PR before seeing this comment.
Yes I believe so! It is getting retransmitted from the remote now. Before I think it was detecting handshake complete and not doing a rtx.
When FSM is in finished and sees a handshake message re-send the last flight again.