summaryrefslogtreecommitdiffstats
path: root/modules/proxy
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2019-08-26 17:09:00 +0200
committerEric Covener <covener@apache.org>2019-08-26 17:09:00 +0200
commit568ce9b204388827b2e797265fac5dd39bfcdcb4 (patch)
treeebfcfcb3353e9d257ae8160f7c5a46e35064a785 /modules/proxy
parentPR63503: fix pool concurrency problems in mod_proxy (diff)
downloadapache2-568ce9b204388827b2e797265fac5dd39bfcdcb4.tar.xz
apache2-568ce9b204388827b2e797265fac5dd39bfcdcb4.zip
lognos
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1865944 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy')
-rw-r--r--modules/proxy/proxy_util.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c
index 1c2c0bade6..cb8e759557 100644
--- a/modules/proxy/proxy_util.c
+++ b/modules/proxy/proxy_util.c
@@ -2062,7 +2062,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_initialize_worker(proxy_worker *worker, ser
}
}
if ((rv = PROXY_THREAD_LOCK(worker)) != APR_SUCCESS) {
- ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO() "lock");
+ ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10190) "lock");
apr_global_mutex_unlock(proxy_mutex);
return rv;
}
@@ -2073,14 +2073,14 @@ PROXY_DECLARE(apr_status_t) ap_proxy_initialize_worker(proxy_worker *worker, ser
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(00929)
"can not create connection pool");
if ((rv = PROXY_THREAD_UNLOCK(worker)) != APR_SUCCESS) {
- ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO() "unlock");
+ ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10191) "unlock");
}
apr_global_mutex_unlock(proxy_mutex);
return APR_EGENERAL;
}
if ((rv = PROXY_THREAD_UNLOCK(worker)) != APR_SUCCESS) {
- ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO() "unlock");
+ ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10192) "unlock");
}
if (worker->s->hmax) {
@@ -2115,7 +2115,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_initialize_worker(proxy_worker *worker, ser
getpid(), worker->s->hostname_ex);
}
if ((rv = PROXY_THREAD_UNLOCK(worker)) != APR_SUCCESS) {
- ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO() "unlock");
+ ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10193) "unlock");
}
apr_global_mutex_unlock(proxy_mutex);
@@ -2379,12 +2379,12 @@ PROXY_DECLARE(int) ap_proxy_acquire_connection(const char *proxy_function,
if (worker->s->hmax && worker->cp->res) {
if ((err = PROXY_THREAD_LOCK(worker)) != APR_SUCCESS) {
- ap_log_error(APLOG_MARK, APLOG_ERR, err, s, APLOGNO() "lock");
+ ap_log_error(APLOG_MARK, APLOG_ERR, err, s, APLOGNO(10194) "lock");
return HTTP_INTERNAL_SERVER_ERROR;
}
rv = apr_reslist_acquire(worker->cp->res, (void **)conn);
if ((err = PROXY_THREAD_UNLOCK(worker)) != APR_SUCCESS) {
- ap_log_error(APLOG_MARK, APLOG_ERR, err, s, APLOGNO() "unlock");
+ ap_log_error(APLOG_MARK, APLOG_ERR, err, s, APLOGNO(10195) "unlock");
return HTTP_INTERNAL_SERVER_ERROR;
}
}