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/ajp/proxy proxy_util.c
Date Mon, 09 Aug 2004 15:07:20 GMT
mturk       2004/08/09 08:07:20

  Modified:    ajp/proxy proxy_util.c
  Log:
  Use definitions for setting worker status.
  
  Revision  Changes    Path
  1.22      +2 -3      jakarta-tomcat-connectors/ajp/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/ajp/proxy/proxy_util.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- proxy_util.c	9 Aug 2004 10:00:23 -0000	1.21
  +++ proxy_util.c	9 Aug 2004 15:07:20 -0000	1.22
  @@ -1450,15 +1450,14 @@
   {
       apr_status_t rv;
   
  -    if (!worker->status) {
  +    if (!(worker->status & PROXY_WORKER_INITIALIZED)) {
           if ((rv = init_conn_worker(worker, s)) != APR_SUCCESS) {
               ap_log_error(APLOG_MARK, APLOG_ERR, rv, s,
                            "proxy: %s: failed to initialize worker for (%s)",
                            proxy_function, worker->hostname);
               return DECLINED;
           }
  -        /* TODO: make worker status codes */
  -        worker->status = 1;
  +        worker->status = PROXY_WORKER_INITIALIZED;
       }
   #if APR_HAS_THREADS
       if (worker->hmax) {
  
  
  

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