Support mDns Known-Answer Suppression
Support the RFC 6762 section 7.1. Known-Answer Suppression. If the response contains an answer that is also present in the answer section and the known-answer's TTL is greater than half of the original TTL, suppress the response. Bug: 312657709 Test: atest FrameworksNetTests NsdManagerTest Passed DUPLICAE SUPPRESSION test case of BCT Change-Id: I1890e9fba068c1f59a1d93c3514f0e7d07da1814
Showing
- service-t/src/com/android/server/NsdService.java 2 additions, 0 deletionsservice-t/src/com/android/server/NsdService.java
- service-t/src/com/android/server/connectivity/mdns/MdnsFeatureFlags.java 25 additions, 2 deletions...om/android/server/connectivity/mdns/MdnsFeatureFlags.java
- service-t/src/com/android/server/connectivity/mdns/MdnsRecordRepository.java 28 additions, 5 deletions...ndroid/server/connectivity/mdns/MdnsRecordRepository.java
- tests/unit/java/com/android/server/connectivity/mdns/MdnsRecordRepositoryTest.kt 287 additions, 16 deletions...roid/server/connectivity/mdns/MdnsRecordRepositoryTest.kt
Loading
Please register or sign in to comment