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

fix a typo about nagle send #220

Merged
merged 1 commit into from
Apr 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion network/3_tcp/tcp_feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ probe ) 报文**,而对方在确认这个探测报文时,给出自己现在

使用 Nagle 算法,该算法的思路是延时处理,只有满足下面两个条件中的任意一个条件,才可以发送数据:

- 条件一:要等到窗口大小 >= `MSS` 并且 数据大小 >= `MSS`;
- 条件一:要等到可用窗口大小 >= `MSS` 并且 数据大小 >= `MSS`;
- 条件二:收到之前发送数据的 `ack` 回包;

只要上面两个条件都不满足,发送方一直在囤积数据,直到满足上面的发送条件。
Expand Down