b99c4f55163e9c4ac6b123f0e8383b9b9072073b |
|
21-Sep-2011 |
Jason Simmons <jsimmons@google.com> |
Revert the change to DNS_TTL and fix the renewer's TTL In a previous change, DNSConstants.DNS_TTL had been changed to reduce the TTL of mDNS services advertised by the A@H broker. Instead of changing this for all users of JmDNS, A@H will use the DNSStateTask.setDefaultTTL internal API to control the TTL. Also, patch the Renewer so that the renewal interval is based on the task's own TTL instead of the hardcoded TTL in DNSConstants. Change-Id: I9f42b98e8088267b38d380edfd8b2e737d00414e
/external/jmdns/src/javax/jmdns/impl/tasks/state/Renewer.java
|