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_connect.c
Date Mon, 13 Dec 2004 14:26:36 GMT
mturk       2004/12/13 06:26:36

  Modified:    jk/native/common jk_connect.c
  Log:
  Use infinite timeout if socket_timeout is set to zero.
  
  Revision  Changes    Path
  1.33      +2 -2      jakarta-tomcat-connectors/jk/native/common/jk_connect.c
  
  Index: jk_connect.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_connect.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- jk_connect.c	13 Dec 2004 14:05:15 -0000	1.32
  +++ jk_connect.c	13 Dec 2004 14:26:36 -0000	1.33
  @@ -148,7 +148,7 @@
           if (timeout != -1) {
               /* do not allow non blocking sockets for now */
               if (timeout == 0)
  -                timeout = 60 * 100;
  +                timeout = -1;
               ret = jk_socket_timeout_set(sock, -1, timeout);
               if (ret) {
                   jk_close_socket(sock);
  
  
  

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