]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Rewrite Cookies and other headers in mod_proxy_ajp as configured with
authorSander Striker <striker@apache.org>
Tue, 11 Jan 2005 08:35:46 +0000 (08:35 +0000)
committerSander Striker <striker@apache.org>
Tue, 11 Jan 2005 08:35:46 +0000 (08:35 +0000)
commit46ba14216d31e7c9f29d506c799396ecc15576a3
tree5b5af8e7bd8ddea922f36257121f6b7db0aace45
parent947d103c02a1e106dedb580e0efbbdd72b5404ac
Rewrite Cookies and other headers in mod_proxy_ajp as configured with
ProxyPassReverse and ProxyPassReverseCookiePath.

* modules/proxy/proxy_ajp.c

  (ap_proxy_ajp_request): Update call to ajp_parse_header().

* modules/proxy/ajp.h

  (ajp_msg_get_string): constify argument.

  (ajp_parse_header): Add conf argument.

* modules/proxy/proxy_util.c

  (ap_proxy_location_reverse_map): Promoted from mod_proxy_http.

  (ap_proxy_cookie_reverse_map): Promoted from mod_proxy_http;
    renamed from proxy_cookie_reverse_map.

* modules/proxy/ajp_msg.c

  (ajp_msg_get_string): constify argument.

* modules/proxy/proxy_http.c

  (ap_proxy_location_reverse_map, proxy_cookie_reverse_map: Removed.

  (process_proxy_header): Update header mapping table to reference the now
    public functions.

* modules/proxy/ajp_header.c

  (ajp_unmarshal_response): And conf argument.  Reverse map cookies and
    other headers.

  (ajp_parse_header): Update call to ajp_unmarshal_response().

* modules/proxy/mod_proxy.h

  (ap_proxy_location_reverse_map, ap_proxy_cookie_reverse_map): Declare
    functions that have been promoted to be public.

  (ap_proxy_header_reverse_map_fn): Typedef for the signature of the above
    two functions (currently used in mod_proxy_http).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124901 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/ajp.h
modules/proxy/ajp_header.c
modules/proxy/ajp_msg.c
modules/proxy/mod_proxy.h
modules/proxy/proxy_ajp.c
modules/proxy/proxy_http.c
modules/proxy/proxy_util.c