-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tcp: start retransmit on first data sent, fix FIN retransmit in CLOSING.
- RFC 6298 says we should start the retransmit timer as soon as we send a segment that has data. We were starting it on the *last* segment instead. - Simplified logic with set_for_idle, it's now uniform across all tcp states. - Fix FIN retransmits not being sent in CLOSED state.
- Loading branch information
Showing
1 changed file
with
111 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters