1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

mod_proxy: Add Proxypass status option to ignore errors

PR 43167.  Patch by Francisco Gimeno


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@571338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Kew
2007-08-30 23:06:00 +00:00
parent 9b93fc8cf6
commit 8de9bb913e
3 changed files with 13 additions and 3 deletions

View File

@@ -220,6 +220,12 @@ static const char *set_worker_param(apr_pool_t *p,
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";
}