summaryrefslogtreecommitdiff
path: root/src/android/net/ip/IpClient.java
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2020-05-29 08:24:08 +0000
committerRemi NGUYEN VAN <reminv@google.com>2020-06-01 01:55:43 +0000
commite443dd652fbbdfc95c7138ea4fe25a37fe242351 (patch)
treef5f91fcd3f3e741569aa6cc35c5ea824888669c4 /src/android/net/ip/IpClient.java
parent6bed0e594128b129d8b4efc427dbed546e3e420f (diff)
Only allow HTTP capport URLs on test networks
HTTP URLs on localhost for the capport API should only be accepted on networks with TRANSPORT_TEST. This change also introduces the first changes to fix thread safety issues in NetworkMonitor, where LinkProperties or NetworkCapabilities are read from the evaluation thread, even though they are updated from the StateMachine thread. The EvaluationThreadDeps class should be augmented in later changes to hold thread-safe copies of what the evaluation thread needs. Bug: 156062304 Bug: 155455470 Test: atest NetworkMonitorTest Original-Change: https://android-review.googlesource.com/1315226 Merged-In: I65bb54c581965159b99d7ac8596304ceb6b5f2cb Change-Id: I65bb54c581965159b99d7ac8596304ceb6b5f2cb
Diffstat (limited to 'src/android/net/ip/IpClient.java')
0 files changed, 0 insertions, 0 deletions