From: Jim Jagielski Date: Thu, 30 Mar 2006 17:36:04 +0000 (+0000) Subject: Merge r371013 from trunk: X-Git-Tag: 2.2.1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1947f82eb4217def47f2b90ed4001583a8a4834e;p=thirdparty%2Fapache%2Fhttpd.git Merge r371013 from trunk: * Fix PR38340 by actual getting the word and thus advancing the message buffer pointer to the next data. Submitted by: Aleksey Pesternikov Reviewed by: Ruediger Pluem Submitted by: rpluem Reviewed by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@390183 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 24e0f18741c..1bc8e89e197 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.2.1 + *) mod_proxy_ajp: Support common headers of the AJP protocol in responses. + PR 38340. [Aleksey Pesternikov , Ruediger Pluem] + *) mod_proxy_balancer: Do not overwrite the status of initialized workers and respect the configured status of uninitilized workers when creating a new child process. [Ruediger Pluem] diff --git a/STATUS b/STATUS index 8b4c4d0ad52..6d3589b9c3a 100644 --- a/STATUS +++ b/STATUS @@ -83,14 +83,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK: -0: niq: Please explain why return value of ap_pass_brigade is put into a variable and immediately discarded. - * mod_proxy_ajp: Fix PR38340 (mod_proxy_ajp does not support common - headers (0xA0??)) - Trunk version of patch: - http://svn.apache.org/viewcvs.cgi?rev=371013&view=rev - Backport version for 2.2.x of patch: - Trunk version of patch works - +1: rpluem, wrowe, jerenkrantz - * core: Fix PR38123 (Invalid Expect header not immediately rejected) Trunk version of patch: http://svn.apache.org/viewcvs.cgi?rev=370172&view=rev diff --git a/modules/proxy/ajp_header.c b/modules/proxy/ajp_header.c index 49ee13ea972..58e714a9ac8 100644 --- a/modules/proxy/ajp_header.c +++ b/modules/proxy/ajp_header.c @@ -506,7 +506,7 @@ static apr_status_t ajp_unmarshal_response(ajp_msg_t *msg, } if ((name & 0XFF00) == 0XA000) { - ajp_msg_peek_uint16(msg, &name); + ajp_msg_get_uint16(msg, &name); stringname = long_res_header_for_sc(name); if (stringname == NULL) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,