httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francisco Gimeno" <ki...@kikov.org>
Subject Re: [PATCH 43167] Adding status=i|I (Ignore Errors) option for ProxyPass
Date Thu, 23 Aug 2007 19:15:18 GMT
the URL, http://issues.apache.org/bugzilla/attachment.cgi?id=20681

anyway, it's tiny:
------------

diff -ur apache2-2.2.4.orig/modules/proxy/mod_proxy.c
apache2-2.2.4.kikov1/modules/proxy/mod_proxy.c
--- apache2-2.2.4.orig/modules/proxy/mod_proxy.c	2006-11-27
16:00:56.000000000 +0100
+++ apache2-2.2.4.kikov1/modules/proxy/mod_proxy.c	2007-08-20
15:17:46.000000000 +0200
@@ -219,6 +219,12 @@
                 else
                     worker->status &= ~PROXY_WORKER_HOT_STANDBY;
             }
+	    else if (*v == 'I' || *v == 'i') {
+	    	if (mode)
+		    worker->status |= PROXY_WORKER_IGNORE_ERRORS;
+		else
+		    worker->status &= ~PROXY_WORKER_IGNORE_ERRORS;
+	    }
             else {
                 return "Unknown status parameter option";
             }
---------

Thanks for the feedback!


Francisco,
>
> I don't see the patch. Can you provide a URL for it?
> Or, if small, add to your reply?
>
> Thanks!
>

Mime
View raw message