Hello, I have made a tiny patch for allowing marking a ProxyPass entry as WORKER_IGNORE_ERRORS. That will allow not to disable the requests to the server if it makes a Timeout or single error. --- 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"; } --- I have found people looking for this: http://www.mail-archive.com/dev@httpd.apache.org/msg36492.html
Created attachment 20681 [details] proxypass_status_worker_ignore_errors_options.diff Patch on 2.2.4.. It should apply perfectly in others (tiny and clean diff)
Not reviewed, just tagging.
Created attachment 20743 [details] Add the 'I' option to ProxyPass status directive Update on documentation. That patch has been done with svn diff to trunk
Fixed in 2.2.6