ASF Bugzilla – Attachment 28934 Details for
Bug 52402
balancer setup crashes apache during start
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch for httpd-2.4.2
bugid_52402.patch (text/plain), 966 bytes, created by
Zisis Lianas
on 2012-06-13 16:46:12 UTC
(
hide
)
Description:
proposed patch for httpd-2.4.2
Filename:
MIME Type:
Creator:
Zisis Lianas
Created:
2012-06-13 16:46:12 UTC
Size:
966 bytes
patch
obsolete
>--- httpd-2.4.2/modules/proxy/mod_proxy_balancer.c >+++ httpd-2.4.2/modules/proxy/mod_proxy_balancer.c >@@ -825,6 +825,16 @@ > proxy_worker_shared *shm; > > worker = *workers; >+ >+ /* Ckeck if we grabbed already */ >+ if (storage->dptr(balancer->wslot, worker->s->index, (void *)&shm) == APR_SUCCESS) { >+ if (shm == worker->s) { >+ /* worker->s pointed to some shm before */ >+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(05561) "won't grab worker-SHM %lu with index %d twice", (unsigned long int)(worker->s), worker->s->index); >+ continue; >+ } >+ } >+ > if ((rv = storage->grab(balancer->wslot, &index)) != APR_SUCCESS) { > ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s, APLOGNO(01186) "worker slotmem_grab failed"); > return !OK; >
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 52402
: 28934