You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bi...@apache.org on 2006/01/31 04:24:09 UTC

svn commit: r373683 - /tomcat/connectors/trunk/jk/java/org/apache/jk/common/HandlerRequest.java

Author: billbarker
Date: Mon Jan 30 19:24:06 2006
New Revision: 373683

URL: http://svn.apache.org/viewcvs?rev=373683&view=rev
Log:
Don't write out the shutdown secret file if shutdown is disabled (the default)

Modified:
    tomcat/connectors/trunk/jk/java/org/apache/jk/common/HandlerRequest.java

Modified: tomcat/connectors/trunk/jk/java/org/apache/jk/common/HandlerRequest.java
URL: http://svn.apache.org/viewcvs/tomcat/connectors/trunk/jk/java/org/apache/jk/common/HandlerRequest.java?rev=373683&r1=373682&r2=373683&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/java/org/apache/jk/common/HandlerRequest.java (original)
+++ tomcat/connectors/trunk/jk/java/org/apache/jk/common/HandlerRequest.java Mon Jan 30 19:24:06 2006
@@ -188,7 +188,7 @@
         int portInt=8009; // tcpCon.getPort();
         InetAddress address=null; // tcpCon.getAddress();
 
-        if( requiredSecret == null )
+        if( requiredSecret == null || !shutdownEnabled )
             return;
         
         File f1=new File( wEnv.getJkHome() );



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org