tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1074132 - /tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java
Date Thu, 24 Feb 2011 13:11:17 GMT
Author: markt
Date: Thu Feb 24 13:11:17 2011
New Revision: 1074132

URL: http://svn.apache.org/viewvc?rev=1074132&view=rev
Log:
Restore the CrawlerSessionManagerValve
Local testing with Jira 4.2.4 shows it works.

Added:
    tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java
      - copied, changed from r1067803, tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java

Copied: tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java (from
r1067803, tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java)
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java?p2=tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java&p1=tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java&r1=1067803&r2=1074132&rev=1074132&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java (original)
+++ tomcat/trunk/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java Thu Feb 24
13:11:17 2011
@@ -25,7 +25,6 @@ import java.util.concurrent.ConcurrentHa
 import java.util.regex.Pattern;
 
 import javax.servlet.ServletException;
-import javax.servlet.http.Cookie;
 import javax.servlet.http.HttpSession;
 
 import org.apache.catalina.LifecycleException;
@@ -151,9 +150,6 @@ public class CrawlerSessionManagerValve 
                 sessionInfo = uaIpSessionInfo.get(clientIp);
                 if (sessionInfo != null) {
                     request.setRequestedSessionId(sessionInfo.getSessionId());
-                    // Hack for testing with Jira
-                    request.addCookie(new Cookie("JSESSIONID",
-                            sessionInfo.getSessionId()));
                     if (log.isDebugEnabled()) {
                         log.debug(request.hashCode() +
                                 ": SessionID=" + sessionInfo.getSessionId());



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


Mime
View raw message