diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-04 22:01:16 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-04 22:20:43 +0200 |
commit | e1a2e2780c91eb83f4cf3dfc8bb8b8ad286f3389 (patch) | |
tree | 8830b0676c8d27435b8750765ec26eac984c367c /util.c | |
parent | f6bff339a95ea19852a6a5d841d141e6155f662e (diff) | |
download | passt-e1a2e2780c91eb83f4cf3dfc8bb8b8ad286f3389.tar passt-e1a2e2780c91eb83f4cf3dfc8bb8b8ad286f3389.tar.gz passt-e1a2e2780c91eb83f4cf3dfc8bb8b8ad286f3389.tar.bz2 passt-e1a2e2780c91eb83f4cf3dfc8bb8b8ad286f3389.tar.lz passt-e1a2e2780c91eb83f4cf3dfc8bb8b8ad286f3389.tar.xz passt-e1a2e2780c91eb83f4cf3dfc8bb8b8ad286f3389.tar.zst passt-e1a2e2780c91eb83f4cf3dfc8bb8b8ad286f3389.zip |
tcp: Check if connection is local or low RTT was seen before using large MSS
If the connection is local or the RTT was comparable to the time it
takes to queue a batch of messages, we can safely use a large MSS
regardless of the sending buffer, but otherwise not.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions