summaryrefslogtreecommitdiff
path: root/modules/proxy/ajp_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/proxy/ajp_utils.c')
-rw-r--r--modules/proxy/ajp_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/ajp_utils.c b/modules/proxy/ajp_utils.c
index 17e25bfb..5a0e8772 100644
--- a/modules/proxy/ajp_utils.c
+++ b/modules/proxy/ajp_utils.c
@@ -31,7 +31,7 @@ apr_status_t ajp_handle_cping_cpong(apr_socket_t *sock,
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
"Into ajp_handle_cping_cpong");
- rc = ajp_msg_create(r->pool, &msg);
+ rc = ajp_msg_create(r->pool, AJP_HEADER_SZ_LEN+1, &msg);
if (rc != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
"ajp_handle_cping_cpong: ajp_msg_create failed");