tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session DeltaManager.java
Date Fri, 02 Apr 2004 14:42:20 GMT
fhanik      2004/04/02 06:42:20

  Modified:    modules/cluster/src/share/org/apache/catalina/cluster/session
                        DeltaManager.java
  Log:
  Fixed bug 28156. Session access count should be 0 not 1 when the requests are done
  
  Revision  Changes    Path
  1.19      +2 -2      jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java
  
  Index: DeltaManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- DeltaManager.java	1 Mar 2004 21:35:34 -0000	1.18
  +++ DeltaManager.java	2 Apr 2004 14:42:20 -0000	1.19
  @@ -869,6 +869,7 @@
                          if (session != null) {
                              session.access();
                              session.setPrimarySession(false);
  +                           session.endAccess();
                          }
                          break;
                      }
  @@ -879,7 +880,6 @@
                              DeltaRequest dreq = loadDeltaRequest(session, delta);
                              dreq.execute(session);
                              session.setPrimarySession(false);
  -                           session.access();
                          }
                          
                          break;
  
  
  

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


Mime
View raw message