]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backports: r1057372
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 22 Dec 2016 18:45:07 +0000 (18:45 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 22 Dec 2016 18:45:07 +0000 (18:45 +0000)
Submitted by: trawick
comment on where multiple headers with same name get merged

(some strict Cookie parsers can't handle what happens later,
but that is not our fault)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x-merge-http-strict@1775695 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index f168329568299b56afb252e4d3a45433f226f9f3..f20f315269f9a0d9ab1ed37042014be13bfd7830 100644 (file)
@@ -863,6 +863,9 @@ AP_DECLARE(void) ap_get_mime_headers_core(request_rec *r, apr_bucket_brigade *bb
         }
     }
 
+    /* Combine multiple message-header fields with the same
+     * field-name, following RFC 2616, 4.2.
+     */
     apr_table_compress(r->headers_in, APR_OVERLAP_TABLES_MERGE);
 }