This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new e64d3d7 Deprecate the org.apache.catalina.tribes.dns_lookups system property e64d3d7 is described below commit e64d3d7260de4c4a68303b62c8520cda9be3f4c9 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Apr 2 15:56:09 2020 +0100 Deprecate the org.apache.catalina.tribes.dns_lookups system property --- java/org/apache/catalina/tribes/membership/MemberImpl.java | 3 +++ webapps/docs/config/systemprops.xml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/java/org/apache/catalina/tribes/membership/MemberImpl.java b/java/org/apache/catalina/tribes/membership/MemberImpl.java index 1c6c82d..eb52eae 100644 --- a/java/org/apache/catalina/tribes/membership/MemberImpl.java +++ b/java/org/apache/catalina/tribes/membership/MemberImpl.java @@ -38,7 +38,10 @@ public class MemberImpl implements Member, java.io.Externalizable { /** * Should a call to getName or getHostName try to do a DNS lookup? * default is false + * + * @deprecated This will be removed without replacement in Tomact 10 onwards */ + @Deprecated public static final boolean DO_DNS_LOOKUPS = Boolean.parseBoolean(System.getProperty("org.apache.catalina.tribes.dns_lookups","false")); public static final transient byte[] TRIBES_MBR_BEGIN = new byte[] {84, 82, 73, 66, 69, 83, 45, 66, 1, 0}; diff --git a/webapps/docs/config/systemprops.xml b/webapps/docs/config/systemprops.xml index 2fc5a33..f4391ca 100644 --- a/webapps/docs/config/systemprops.xml +++ b/webapps/docs/config/systemprops.xml @@ -69,6 +69,8 @@ <properties> <property name="org.apache.catalina. tribes.dns_lookups"> + <p>This system property is deprecated and will be removed without + replacement in Apache Tomcat 10 onwards.</p> <p>If <code>true</code>, the clustering module will attempt to use DNS to resolve any host names provided in the cluster configuration.</p> <p>If not specified, the default value of <code>false</code> will be used.</p> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org