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:43:41 GMT
mturk       2004/12/13 06:43:41

  Modified:    jk/native/common jk_connect.c
  Log:
  Transform the config value to milliseconds.
  
  Revision  Changes    Path
  1.34      +3 -3      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.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- jk_connect.c	13 Dec 2004 14:26:36 -0000	1.33
  +++ jk_connect.c	13 Dec 2004 14:43:41 -0000	1.34
  @@ -148,8 +148,8 @@
           if (timeout != -1) {
               /* do not allow non blocking sockets for now */
               if (timeout == 0)
  -                timeout = -1;
  -            ret = jk_socket_timeout_set(sock, -1, timeout);
  +                timeout = -1;            
  +            ret = jk_socket_timeout_set(sock, -1, timeout * 1000);
               if (ret) {
                   jk_close_socket(sock);
                   jk_log(l, JK_LOG_ERROR,
  
  
  

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