httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_util.c
Date Sat, 16 Oct 2004 06:52:35 GMT
mturk       2004/10/15 23:52:35

  Modified:    modules/proxy proxy_util.c
  Log:
  Do not use reslist if it wasn't created. This fixes cases on prefork with
  threads enabled and hmax set.
  
  Revision  Changes    Path
  1.161     +1 -1      httpd-2.0/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_util.c,v
  retrieving revision 1.160
  retrieving revision 1.161
  diff -u -r1.160 -r1.161
  --- proxy_util.c	29 Sep 2004 19:05:44 -0000	1.160
  +++ proxy_util.c	16 Oct 2004 06:52:35 -0000	1.161
  @@ -1507,7 +1507,7 @@
           }
       }
   #if APR_HAS_THREADS
  -    if (worker->hmax) {
  +    if (worker->hmax && worker->cp->res) {
           rv = apr_reslist_acquire(worker->cp->res, (void **)conn);
       }
       else
  
  
  

Mime
View raw message