tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c
Date Thu, 21 Apr 2005 11:41:06 GMT
mturk       2005/04/21 04:41:06

  Modified:    jk/native/common jk_ajp_common.c
  Log:
  Fix bug in check next connection loop, by resetting test value to 0
  for each socket.
  
  Revision  Changes    Path
  1.99      +3 -2      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.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- jk_ajp_common.c	21 Apr 2005 11:36:29 -0000	1.98
  +++ jk_ajp_common.c	21 Apr 2005 11:41:06 -0000	1.99
  @@ -1148,7 +1148,7 @@
                               ajp_endpoint_t * ae, ajp_operation_t * op)
   {
       int err = 0;
  -    int postlen, rc = 0;
  +    int postlen;
   
       JK_TRACE_ENTER(l);
       /* Up to now, we can recover */
  @@ -1158,6 +1158,7 @@
        * First try to reuse open connections...
        */
       while ((ae->sd > 0)) {
  +        int rc = 0;
           err = 0;
           if (ae->worker->socket_timeout) {
               if (!jk_is_socket_connected(ae->sd)) {
  
  
  

---------------------------------------------------------------------
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