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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]