summaryrefslogtreecommitdiffstats
path: root/modules/proxy/ajp_msg.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-12-03 00:02:04 +0100
committerStefan Fritsch <sf@apache.org>2011-12-03 00:02:04 +0100
commit92e366007c7936f44eef10f88a7042bc5a663c05 (patch)
tree491eaace700df8e1a764c7dfbe25335d497d0dcb /modules/proxy/ajp_msg.c
parentmod_proxy: Make ap_proxy_retry_worker() into an optional function. Allows (diff)
downloadapache2-92e366007c7936f44eef10f88a7042bc5a663c05.tar.xz
apache2-92e366007c7936f44eef10f88a7042bc5a663c05.zip
Add lots of unique tags to error log messages
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy/ajp_msg.c')
-rw-r--r--modules/proxy/ajp_msg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/proxy/ajp_msg.c b/modules/proxy/ajp_msg.c
index d5f47b3210..69e232a394 100644
--- a/modules/proxy/ajp_msg.c
+++ b/modules/proxy/ajp_msg.c
@@ -151,7 +151,7 @@ apr_status_t ajp_msg_check_header(ajp_msg_t *msg, apr_size_t *len)
if (!((head[0] == 0x41 && head[1] == 0x42) ||
(head[0] == 0x12 && head[1] == 0x34))) {
- ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL,
+ ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, APLOGNO(01080)
"ajp_msg_check_header() got bad signature %02x%02x",
head[0], head[1]);
@@ -162,7 +162,7 @@ apr_status_t ajp_msg_check_header(ajp_msg_t *msg, apr_size_t *len)
msglen += (head[3] & 0xFF);
if (msglen > msg->max_size) {
- ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL,
+ ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, APLOGNO(01081)
"ajp_msg_check_header() incoming message is "
"too big %" APR_SIZE_T_FMT ", max is %" APR_SIZE_T_FMT,
msglen, msg->max_size);
@@ -578,7 +578,7 @@ apr_status_t ajp_msg_create(apr_pool_t *pool, apr_size_t size, ajp_msg_t **rmsg)
apr_status_t ajp_msg_copy(ajp_msg_t *smsg, ajp_msg_t *dmsg)
{
if (smsg->len > smsg->max_size) {
- ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL,
+ ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, APLOGNO(01082)
"ajp_msg_copy(): destination buffer too "
"small %" APR_SIZE_T_FMT ", max size is %" APR_SIZE_T_FMT,
smsg->len, smsg->max_size);