You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Brian Eidelman <be...@netegrity.com> on 2000/05/05 20:32:54 UTC
mod_proxy/6055: PATCH: make mod_proxy deliver cookies set by other modules when used as ProxyPass
>Number: 6055
>Category: mod_proxy
>Synopsis: PATCH: make mod_proxy deliver cookies set by other modules when used as ProxyPass
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Fri May 05 11:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: beidelman@netegrity.com
>Release: 1.3.12
>Organization:
apache
>Environment:
All. This is a logic issue. I use solaris with gcc and SUNWspro
>Description:
Currently when used with ProxyPass and ProxyPassReverse, mod_proxy does not deliver cookies set by other modules (such as access or auth modules) when serving up pages retrieved through the Reverse Proxy. This patch adds all headers set in the err_headers_out table to the outbound request. The patch is to proxy_util.c.
>How-To-Repeat:
>Fix:
This patch adds all headers set in the err_headers_out table to the outbound request. The patch is to proxy_util.c.
[beidelma]>diff -C3 proxy_util-old.c proxy_util.c
*** proxy_util-old.c Thu May 4 17:45:23 2000
--- proxy_util.c Thu May 4 15:26:06 2000
***************
*** 487,492 ****
--- 487,495 ----
}
}
+ /* Now add headers set by other modules on our server for this request */
+ resp_hdrs = ap_overlay_tables(r->pool, r->err_headers_out, resp_hdrs);
+
return resp_hdrs;
}
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> 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! ]