From: Graham Leggett Date: Tue, 3 Sep 2002 07:12:46 +0000 (+0000) Subject: Fix a problem in proxy where headers from other modules were X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dda13a4872da52a5537227d37f50238e324313a8;p=thirdparty%2Fapache%2Fhttpd.git Fix a problem in proxy where headers from other modules were added to the response headers when this was already done in the core already. This resulted in header (and therefore cookie) duplication. PR: Obtained from: Submitted by: Martijn Schoemaker Reviewed by: Graham Leggett git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96620 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/CHANGES b/src/CHANGES index 5d679e36266..4ea1395d395 100644 --- a/src/CHANGES +++ b/src/CHANGES @@ -1,5 +1,10 @@ Changes with Apache 1.3.27 + *) Fix a problem in proxy where headers from other modules were + added to the response headers when this was already done in the + core already. This resulted in header (and therefore cookie) + duplication. [Martijn Schoemaker ] + *) Fix FileETags none operation. PR 12202. [Justin Erenkrantz, Andrew Ho ] diff --git a/src/modules/proxy/proxy_http.c b/src/modules/proxy/proxy_http.c index 6a9a4443fb8..a11688d8a8c 100644 --- a/src/modules/proxy/proxy_http.c +++ b/src/modules/proxy/proxy_http.c @@ -520,8 +520,6 @@ int ap_proxy_http_handler(request_rec *r, cache_req *c, char *url, c->len = ap_strtol(content_length, NULL, 10); } - /* Now add out bound headers set by other modules */ - resp_hdrs = ap_overlay_tables(r->pool, r->err_headers_out, resp_hdrs); } else { /* an http/0.9 response */