]> granicus.if.org Git - apache/commitdiff
comment on where multiple headers with same name get merged
authorJeff Trawick <trawick@apache.org>
Mon, 10 Jan 2011 21:21:45 +0000 (21:21 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 10 Jan 2011 21:21:45 +0000 (21:21 +0000)
(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/trunk@1057372 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index 182c5b1cec28ceb3eedc86ba75b2fbc28df6bf24..be9d183932e7dcf18835763a8bd9ff3719d309b1 100644 (file)
@@ -846,6 +846,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);
 }