Commit 543dda57 authored by Ruediger Pluem's avatar Ruediger Pluem
Browse files

* Fix PR38340 by actual getting the word and thus advancing the message buffer

  pointer to the next data.

Submitted by: Aleksey Pesternikov <apesternikov yahoo.com>
Reviewed by: Ruediger Pluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@371013 13f79535-47bb-0310-9956-ffa450edef68
parent bbde28e7
Loading
Loading
Loading
Loading
+3 −0
Changes for CHANGES: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
Changes with Apache 2.3.0
  [Remove entries to the current 2.0 and 2.2 section below, when backported]
  *) mod_proxy_ajp: Support common headers of the AJP protocol in responses.
     PR 38340. [Aleksey Pesternikov <apesternikov yahoo.com>, Ruediger Pluem]
  *) core: Reject invalid Expect header immediately. PR 38123.
     [Ruediger Pluem]
+1 −1
Changes for modules/proxy/ajp_header.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -507,7 +507,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,