You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/05/03 21:06:10 UTC
DO NOT REPLY [Bug 25543] mod_usertrack does not set the cookie if
the request is reverse-proxied
https://issues.apache.org/bugzilla/show_bug.cgi?id=25543
Aaron Hamid <ar...@cornell.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arh14@cornell.edu
Version|2.2.2 |2.2.8
--- Comment #8 from Aaron Hamid <ar...@cornell.edu> 2008-05-03 12:06:09 PST ---
I am seeing this with our own Apache authentication module (performs
essentially like mod_cas) for requests which are proxied via mod_proxy_ajp in
httpd 2.2.8. If our module authenticates the request, and then it is proxied
via mod_proxy_ajp, our cookie never comes back out to the client. My
superficial skimming of the source reveals that this code in ajp_header.c,
'ajp_unmarshal_response' function, may be the problem:
rc = ajp_msg_get_uint16(msg, &num_headers);
if (rc == APR_SUCCESS) {
r->headers_out = apr_table_make(r->pool, num_headers);
} else {
r->headers_out = NULL;
num_headers = 0;
}
It looks like the r->headers_out table is being overwritten here, instead of
having headers merged into it, as described in previous comments.
Workaround is to use mod_proxy_http instead where this has been apparently
fixed already.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org