diff options
author | Zeling Feng <zeling@google.com> | 2021-08-24 16:07:26 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-24 16:10:16 -0700 |
commit | 0c2b2dc752e626f86454455bd991766ebd68497b (patch) | |
tree | 305520e434b965821276db0349aac5059dd5bfdd /shim | |
parent | 19051dd26fe4840cdeb599f6fb393bf72851b4ee (diff) |
Measure RTT during handshake since Linux does the same
Some tcp unit tests are affected by this change:
- Some retransmission tests assumed RTO=1s when connection is established. This
is no longer true because minRTO was set to 3s in tests so now RTO becomes 3s
after the first updateRTO call. Set minRTO=1s for these tests.
- Some RACK enabled tests are affected because now that RTT is initialized, and
the estimated RTT is quite small, spurious TLP might be sent out and causing
flakes, introduce an artificial delay for these tests so that the estimated
RTT is larger.
PiperOrigin-RevId: 392768725
Diffstat (limited to 'shim')
0 files changed, 0 insertions, 0 deletions