httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Trawick" <traw...@gmail.com>
Subject Re: High CPU utilization on using Apache as a reverse proxy
Date Wed, 16 Aug 2006 11:39:52 GMT
On 8/16/06, pradeep kumar <pradeep.smani@gmail.com> wrote:
>
> Yep, proxy_connect has been enabled. So we dont have an equivalent patch for
> 2.0? As I mentioned the problem is seen with 2.0.55 and not 2.0.53.

There's no reason the patch can't be put into 2.0...  Apply this patch
and report back on whether or not it resolves your problem, and we can
see about getting it in the next 2.0.x release.  Thanks!

Index: modules/proxy/proxy_connect.c
===================================================================
--- modules/proxy/proxy_connect.c       (revision 431472)
+++ modules/proxy/proxy_connect.c       (working copy)
@@ -339,8 +339,10 @@
                 else
                     break;
             }
-            else if ((pollevent & APR_POLLERR) || (pollevent & APR_POLLHUP))
+            else if ((pollevent & APR_POLLERR) || (pollevent & APR_POLLHUP)) {
+                rv = APR_EOF;
                break;
+            }
         }
         else
             break;

Mime
View raw message