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

Ack-eliciting, not inflight #2117

Merged
merged 2 commits into from
Dec 18, 2018
Merged

Ack-eliciting, not inflight #2117

merged 2 commits into from
Dec 18, 2018

Conversation

janaiyengar
Copy link
Contributor

Closes #2093

@martinthomson martinthomson added design An issue that affects the design of the protocol; resolution requires consensus. -recovery labels Dec 12, 2018
@@ -792,7 +792,7 @@ Pseudocode for SetLossDetectionTimer follows:
SetLossDetectionTimer():
// Don't arm timer if there are no ack-eliciting packets
// in flight.
if (bytes_in_flight == 0):
if (no ack-eliciting packets oustanding):
Copy link
Contributor

@ianswett ianswett Dec 12, 2018

Choose a reason for hiding this comment

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

We never define what outstanding means, from what I can find, though we do use it in a few spots. In this case, I believe it should be "no ack-eliciting packets In-flight"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we use it below, which is why I used it here. I could change them both to "in flight" or leave them at outstanding

Copy link
Contributor

Choose a reason for hiding this comment

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

I sent #2120 to remove existing uses of outstanding.

ianswett added a commit that referenced this pull request Dec 12, 2018
Issue noticed when reviewing PR #2117
@@ -792,7 +792,7 @@ Pseudocode for SetLossDetectionTimer follows:
SetLossDetectionTimer():
// Don't arm timer if there are no ack-eliciting packets
// in flight.
if (bytes_in_flight == 0):
if (no ack-eliciting packets outstanding):
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if (no ack-eliciting packets outstanding):
if (no ack-eliciting packets in flight):

@ianswett ianswett merged commit f79c3c4 into master Dec 18, 2018
@martinthomson martinthomson deleted the close2093 branch December 18, 2018 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-recovery design An issue that affects the design of the protocol; resolution requires consensus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants