Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 1906 invoked by uid 500); 28 Nov 2001 09:00:00 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 1887 invoked by uid 501); 28 Nov 2001 09:00:00 -0000 Resent-Date: 28 Nov 2001 09:00:00 -0000 Resent-Message-ID: <20011128090000.1886.qmail@apache.org> Resent-From: submit@bugz.apache.org (GNATS Filer) Resent-To: apache-bugdb@apache.org Resent-Cc: apache-bugdb@apache.org Resent-Reply-To: submit@bugz.apache.org, rj@lule.frontec.se Received: (qmail 98016 invoked by uid 501); 28 Nov 2001 08:56:45 -0000 Message-Id: <20011128085645.98015.qmail@apache.org> Date: 28 Nov 2001 08:56:45 -0000 From: Raymond Johansson Reply-To: rj@lule.frontec.se To: submit@bugz.apache.org X-Send-Pr-Version: 3.110 Subject: mod_proxy/8886: mod_proxy ignores headers_out set by mod_header >Number: 8886 >Category: mod_proxy >Synopsis: mod_proxy ignores headers_out set by mod_header >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Nov 28 01:00:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: rj@lule.frontec.se >Release: 1.3.22 >Organization: apache >Environment: All. >Description: The Header-line is ignored in proxy_http.c Header set Kalle "Kalle" ProxyPass /proxy/ http://freja:8080/ ProxyPassReverse /proxy/ http://freja:8080/ >How-To-Repeat: GET /proxy/ HTTP/1.0 does not return 'Kalle: Kalle' in the header. >Fix: This is not a correct patch but it works for me. *** proxy_http.c.old Wed Nov 28 09:33:53 2001 --- proxy_http.c Wed Nov 28 09:34:08 2001 *************** *** 441,447 **** clear_connection(p, resp_hdrs); /* Strip Connection hdrs */ /* 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 */ --- 441,447 ---- clear_connection(p, resp_hdrs); /* Strip Connection hdrs */ /* Now add out bound headers set by other modules */ ! resp_hdrs = ap_overlay_tables(r->pool, r->headers_out, resp_hdrs); } else { /* an http/0.9 response */ >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]