tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r478736 - /tomcat/connectors/trunk/jk/native/common/jk_worker.c
Date Fri, 24 Nov 2006 01:10:18 GMT
Author: rjung
Date: Thu Nov 23 17:10:18 2006
New Revision: 478736

URL: http://svn.apache.org/viewvc?view=rev&rev=478736
Log:
Adding a little validation for maintain_time,
like we use it for all other timing configurations.

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_worker.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_worker.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_worker.c?view=diff&rev=478736&r1=478735&r2=478736
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_worker.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_worker.c Thu Nov 23 17:10:18 2006
@@ -71,6 +71,8 @@
     }
 
     worker_maintain_time = jk_get_worker_maintain_time(init_data);
+    if(worker_maintain_time < 0)
+        worker_maintain_time = 0;
 
     if (!build_worker_map(init_data, we->worker_list,
                           we->num_of_workers, we, l)) {



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


Mime
View raw message