https://issues.apache.org/bugzilla/show_bug.cgi?id=53692

--- Comment #8 from David Mansfield <[email protected]> ---
I have debugged this as well and found that the ErrorDocument 401 handler will
ultimately end up calling "internal_internal_redirect" where a new request_rec
is created for the 401 handler, and the kept_body is not passed to it. I.e it
MAY need:

  new->kept_body = r->kept_body;  // on-or-around line 488 of http_request.c

Having "fixed" this and gone back into the debugger, I found that the kept_body
filter ignores r->kept_body unless ap_filter_t::ctx  variable is initialized
properly, and the filters on the original request and on the request created in
internal_internal_redirect are not the same "instances" so we have f->ctx is
null in the subrequest.

This is where my ability to debug ended.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to