Author: jacopoc
Date: Thu Sep 25 09:03:48 2014 New Revision: 1627490 URL: http://svn.apache.org/r1627490 Log: Use the default value of the Tomcat connectors for the enableLookups parameter: this is false by default. From Tomcat connector configurator documentation: enableLookups Set to true if you want calls to request.getRemoteHost() to perform DNS lookups in order to return the actual host name of the remote client. Set to false to skip the DNS lookup and return the IP address in String form instead (thereby improving performance). By default, DNS lookups are disabled. Modified: ofbiz/trunk/framework/catalina/ofbiz-component.xml Modified: ofbiz/trunk/framework/catalina/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/ofbiz-component.xml?rev=1627490&r1=1627489&r2=1627490&view=diff ============================================================================== --- ofbiz/trunk/framework/catalina/ofbiz-component.xml (original) +++ ofbiz/trunk/framework/catalina/ofbiz-component.xml Thu Sep 25 09:03:48 2014 @@ -74,11 +74,11 @@ under the License. <property name="secure" value="false"/> <property name="URIEncoding" value="UTF-8"/> <property name="xpoweredBy" value="true"/> - <property name="enableLookups" value="true"/> <!-- set to false to improve performance (false is the default value in Tomcat) --> <!-- AJP/13 connector attributes --> <!-- commented out because the values match the Tomcat defaults: <property name="tomcatAuthentication" value="true"/> <property name="allowTrace" value="false"/> + <property name="enableLookups" value="false"/> <property name="maxPostSize" value="2097152"/> <property name="noCompressionUserAgents" value=""/> <property name="connectionLinger" value="-1"/> @@ -102,11 +102,11 @@ under the License. <property name="secure" value="false"/> <property name="URIEncoding" value="UTF-8"/> <property name="xpoweredBy" value="true"/> - <property name="enableLookups" value="true"/> <!-- set to false to improve performance (false is the default value in Tomcat) --> <property name="compression" value="on"/> <property name="compressableMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css"/> <!-- commented out because the values match the Tomcat defaults: <property name="allowTrace" value="false"/> + <property name="enableLookups" value="false"/> <property name="maxPostSize" value="2097152"/> <property name="noCompressionUserAgents" value=""/> <property name="connectionLinger" value="-1"/> @@ -131,7 +131,6 @@ under the License. <property name="SSLEnabled" value="true"/> <property name="URIEncoding" value="UTF-8"/> <property name="xpoweredBy" value="true"/> - <property name="enableLookups" value="true"/> <!-- set to false to improve performance (false is the default value in Tomcat) --> <property name="compression" value="on"/> <property name="compressableMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css"/> <!-- SSL connector attributes --> @@ -178,7 +177,6 @@ under the License. <property name="secure" value="false"/> <property name="URIEncoding" value="UTF-8"/> <property name="xpoweredBy" value="true"/> - <property name="enableLookups" value="true"/> </property> <property name="http-connector" value="connector"> <property name="port" value="8080"/> @@ -187,7 +185,6 @@ under the License. <property name="secure" value="false"/> <property name="URIEncoding" value="UTF-8"/> <property name="xpoweredBy" value="true"/> - <property name="enableLookups" value="true"/> <property name="compression" value="on"/> <property name="compressableMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css"/> </property> @@ -199,7 +196,6 @@ under the License. <property name="SSLEnabled" value="true"/> <property name="URIEncoding" value="UTF-8"/> <property name="xpoweredBy" value="true"/> - <property name="enableLookups" value="true"/> <property name="compression" value="on"/> <property name="compressableMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css"/> <property name="sslImplementationName" value="org.ofbiz.catalina.container.SSLImpl"/> |
Free forum by Nabble | Edit this page |