Enable for async requests
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 7 Jun 2011 22:04:44 +0000 (22:04 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 7 Jun 2011 22:04:44 +0000 (22:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1133172 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/valves/CrawlerSessionManagerValve.java

index 645864c..9d3ab50 100644 (file)
@@ -55,6 +55,14 @@ public class CrawlerSessionManagerValve extends ValveBase {
 
 
     /**
+     * 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.*"