tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/facade ServletWrapper.java
Date Mon, 14 Aug 2000 17:56:13 GMT
costin      00/08/14 10:56:11

  Modified:    src/share/org/apache/tomcat/facade ServletWrapper.java
  Log:
  Fix for "permanent unavailable", thanks to Phil Hanna <phanna@ipass.net>
  
  Submitted by: "Phil Hanna" <phanna@ipass.net>
  
  Revision  Changes    Path
  1.3       +6 -0      jakarta-tomcat/src/share/org/apache/tomcat/facade/ServletWrapper.java
  
  Index: ServletWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/facade/ServletWrapper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServletWrapper.java	2000/08/14 17:49:18	1.2
  +++ ServletWrapper.java	2000/08/14 17:56:09	1.3
  @@ -367,6 +367,12 @@
   	}
   
   	if( unavailable!=null  ) {
  +	    // Don't load at all if permanently unavailable 
  +	    if (((UnavailableException) unavailable).getUnavailableSeconds() == -1) { 
  +		   initialized = false; 
  +		   return; 
  +	    } 
  +
   	    // Don't load if Unavailable timer is in place
   	    if(  stillUnavailable() ) {
   		handleUnavailable( req, res );
  
  
  

Mime
View raw message