ASF Bugzilla – Attachment 24190 Details for
Bug 47063
mod_proxy doesn't call post_request handler when the worker returned by pre_request is unusable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix this problem with another approach
mod_proxy_balancer-reset_busyness.patch (text/plain), 1.06 KB, created by
uta
on 2009-08-31 02:44:35 UTC
(
hide
)
Description:
Patch to fix this problem with another approach
Filename:
MIME Type:
Creator:
uta
Created:
2009-08-31 02:44:35 UTC
Size:
1.06 KB
patch
obsolete
>diff -Naur httpd-2.2.13.orig/modules/proxy/mod_proxy.c httpd-2.2.13/modules/proxy/mod_proxy.c >--- httpd-2.2.13.orig/modules/proxy/mod_proxy.c 2009-02-01 05:58:07.000000000 +0900 >+++ httpd-2.2.13/modules/proxy/mod_proxy.c 2009-08-31 18:30:23.000000000 +0900 >@@ -1005,6 +1005,11 @@ > if (balancer) { > worker->s->status |= PROXY_WORKER_IN_ERROR; > worker->s->error_time = apr_time_now(); >+ /* Busyness counter should be reset >+ * when the worker is down. >+ */ >+ if (worker->s->busy) >+ worker->s->busy = 0; > } > break; > } >@@ -1016,6 +1021,11 @@ > if (balancer) { > worker->s->status |= PROXY_WORKER_IN_ERROR; > worker->s->error_time = apr_time_now(); >+ /* Busyness counter should be reset >+ * when the worker is down. >+ */ >+ if (worker->s->busy) >+ worker->s->busy = 0; > } > } > else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47063
:
23520
|
24189
| 24190