tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1133172 - /tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java
Date Tue, 07 Jun 2011 22:04:44 GMT
Author: markt
Date: Tue Jun  7 22:04:44 2011
New Revision: 1133172

URL: http://svn.apache.org/viewvc?rev=1133172&view=rev
Log:
Enable for async requests

Modified:
    tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java

Modified: tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java?rev=1133172&r1=1133171&r2=1133172&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java (original)
+++ tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java Tue Jun 
7 22:04:44 2011
@@ -55,6 +55,14 @@ public class CrawlerSessionManagerValve 
 
 
     /**
+     * Specifies a default constructor so async support can be configured.
+     */
+    public CrawlerSessionManagerValve() {
+        super(true);
+    }
+
+
+    /**
      * Specify the regular expression (using {@link Pattern}) that will be used
      * to identify crawlers based in the User-Agent header provided. The default
      * is ".*GoogleBot.*|.*bingbot.*|.*Yahoo! Slurp.*"



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


Mime
View raw message