summaryrefslogtreecommitdiff
path: root/src/android/net/ip/IpClient.java
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2020-01-14 20:49:17 +0800
committerChiachang Wang <chiachangwang@google.com>2020-01-16 22:09:53 +0800
commitd740dc382aaf8ede8c1143f35bff28c1c4401a82 (patch)
tree9b149c7e44406651c1935a3b055cc4d4929ea5df /src/android/net/ip/IpClient.java
parentf52fa0ea16c0e2bfdc673dbadb58fdacedf7d4ec (diff)
Reduce redundant network probing and prevent probing loop
NetworkMonitor did not limit the probe usage on a non-metered network for data stall detection verification. As NM polls TCP information with certain timer(10s for now), NM may get legacy information if the data stall suspicion comes from other signals, e.g. DNS. It may cause false alarm probing on the network. The first tcp polling event will be 10s later. It may cause a loop due to dns result received w/o latest tcp info. Hence, start first polling while entering validated state. Bug: 145275899 Bug: 147673885 Test: atest NetworkStackTests NetworkStackNextTests Test: Manually test with such network and observe the probe behavior Change-Id: Icb56ebe9d8304880d4f9f4fa8153b6e3727000fb
Diffstat (limited to 'src/android/net/ip/IpClient.java')
0 files changed, 0 insertions, 0 deletions