ASF Bugzilla – Attachment 18031 Details for
Bug 38227
AJP proxy not thread-safe?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Debugging output patch referenced comment #9.
proxy-util.diff (text/plain), 1.53 KB, created by
James A. Robinson
on 2006-04-06 06:03:26 UTC
(
hide
)
Description:
Debugging output patch referenced comment #9.
Filename:
MIME Type:
Creator:
James A. Robinson
Created:
2006-04-06 06:03:26 UTC
Size:
1.53 KB
patch
obsolete
>--- proxy_util-old.c 2005-11-10 07:20:05.000000000 -0800 >+++ proxy_util.c 2006-04-05 21:09:13.000000000 -0700 >@@ -1657,6 +1657,7 @@ > worker->hmax, worker->ttl, > connection_constructor, connection_destructor, > worker, worker->cp->pool); >+ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "0: worker->hmax: %d, worker->cp->res: %s", worker->hmax, (worker->cp->res ? "not null" : "null")); > > apr_pool_cleanup_register(worker->cp->pool, (void *)worker, > conn_pool_cleanup, >@@ -1729,18 +1730,22 @@ > } > } > #if APR_HAS_THREADS >+ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "1: worker->hmax: %d, worker->cp->res: %s", worker->hmax, (worker->cp->res ? "not null" : "null")); > if (worker->hmax && worker->cp->res) { > rv = apr_reslist_acquire(worker->cp->res, (void **)conn); >+ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "2: calling apr_res_list_acquire conn"); > } > else > #endif > { > /* create the new connection if the previous was destroyed */ >- if (!worker->cp->conn) >+ if (!worker->cp->conn) { > connection_constructor((void **)conn, worker, worker->cp->pool); >- else { >+ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "2: called connection_constructor"); >+ } else { > *conn = worker->cp->conn; > worker->cp->conn = NULL; >+ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "2: used conn = worker->cp->conn"); > } > rv = APR_SUCCESS; > }
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 38227
: 18031 |
18055