mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
Forced commit to provide the correct commit message to r242251:
Defer sending an independent window update if a delayed ACK is pending saving a packet. The window update then gets piggy-backed on the next already scheduled ACK. Added grammar fixes as well. MFC after: 2 weeks
This commit is contained in:
parent
e8ad36aba4
commit
78f59b4bfd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242311
@ -547,13 +547,13 @@ tcp_output(struct tcpcb *tp)
|
|||||||
/*
|
/*
|
||||||
* Sending of standalone window updates.
|
* Sending of standalone window updates.
|
||||||
*
|
*
|
||||||
* Window updates important when we close our window due to a full
|
* Window updates are important when we close our window due to a
|
||||||
* socket buffer and are opening it again after the application
|
* full socket buffer and are opening it again after the application
|
||||||
* reads data from it. Once the window has opened again and the
|
* reads data from it. Once the window has opened again and the
|
||||||
* remote end starts to send again the ACK clock takes over and
|
* remote end starts to send again the ACK clock takes over and
|
||||||
* provides the most current window information.
|
* provides the most current window information.
|
||||||
*
|
*
|
||||||
* We must avoid to the silly window syndrome whereas every read
|
* We must avoid the silly window syndrome whereas every read
|
||||||
* from the receive buffer, no matter how small, causes a window
|
* from the receive buffer, no matter how small, causes a window
|
||||||
* update to be sent. We also should avoid sending a flurry of
|
* update to be sent. We also should avoid sending a flurry of
|
||||||
* window updates when the socket buffer had queued a lot of data
|
* window updates when the socket buffer had queued a lot of data
|
||||||
|
Loading…
Reference in New Issue
Block a user