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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]