https://issues.apache.org/bugzilla/show_bug.cgi?id=56657

            Bug ID: 56657
           Summary: Parallel deployment. If sessionid belongs to the
                    latest version of webapp, use the latest version.
           Product: Tomcat 7
           Version: 7.0.54
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: [email protected]
          Reporter: [email protected]

In 8.0.9, 7.0.54: [1]
Reviewing the loop that finds correct web application version by a sessionid.

Looking at [1], there shall be a "break;" after line 921.

This matters in the following rare scenario:
1. There are several versions of the same web application that are deployed in
parallel.
2. The same sessionid is valid both for the latest version and for some older
one.
3. Expected result: map request to the latest version of the webapp.
Actual result: the latest version will be skipped and the request will be
mapped to an older version.


[1]
http://svn.apache.org/viewvc/tomcat/tc8.0.x/tags/TOMCAT_8_0_9/java/org/apache/catalina/connector/CoyoteAdapter.java?view=markup#l916

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to