commit | f2cc01dc126ba1bd8c89add0853546ab4627c3aa | [log] [tgz] |
---|---|---|
author | Yuyang Huang <yuyanghuang@google.com> | Fri Jun 02 11:51:57 2023 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Fri Jun 02 15:36:09 2023 +0900 |
tree | 651ad7dbe5c0562d008ca1021b0c069d66cc8143 | |
parent | ff96322c4f5e35c53443115e93df0f651a7218e7 [diff] |
Renew the SRV/TXT records if half of TTL passed As mentioned in RFC6762 7.1. The records only needed to be renewed if at least half of the TTL passed. Usually A/AAAA records are included in the response to the SRV record query, they are not refreshed individually. Bug: 285261577 Test: atest CtsNetTest FrameworksNetTests Change-Id: Ifd7140de0d733191256184c5481412e1822d279b