mturk       2005/05/14 03:05:42

  Modified:    jk/native/common jk_ajp_common.c
  Log:
  Update last_access on done too.
  
  Revision  Changes    Path
  1.111     +4 -1      
jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
  
  Index: jk_ajp_common.c
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v
  retrieving revision 1.110
  retrieving revision 1.111
  diff -u -r1.110 -r1.111
  --- jk_ajp_common.c   13 May 2005 07:19:32 -0000      1.110
  +++ jk_ajp_common.c   14 May 2005 10:05:42 -0000      1.111
  @@ -2060,6 +2060,9 @@
               }
               ajp_reset_endpoint(p, l);
               *e = NULL;
  +            /* set last_access only if needed */
  +            if (w->cache_timeout > 0 || w->recycle_timeout > 0)
  +                p->last_access = time(NULL); 
               JK_LEAVE_CS(&w->cs, rc);
               if (sock >= 0)
                   jk_shutdown_socket(sock);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to