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:
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user